com.intersys.cache.jni
Class CallinException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.intersys.objects.CacheException
              extended bycom.intersys.cache.jni.CallinException
All Implemented Interfaces:
Serializable

public class CallinException
extends CacheException
implements Serializable

Exception thrown when the Cache callin interface returns an error. The errors returned from the callin interface are defined in source/cache/ccallin.h. These are generated when an operation that calls into Cache returns an error status instead of Success.

See Also:
Serialized Form

Constructor Summary
CallinException(int code)
          Build a generic message that includes the text of the error
CallinException(String msg, int code)
          Build the error message out of the supplied text and add the text of the Cache error to the end.
 
Methods inherited from class com.intersys.objects.CacheException
getCode, getMessage, printFullTrace, printFullTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CallinException

public CallinException(int code)
Build a generic message that includes the text of the error

Parameters:
code - error code returned from the callin function

CallinException

public CallinException(String msg,
                       int code)
Build the error message out of the supplied text and add the text of the Cache error to the end.

Parameters:
code - error code returned from the callin function