Class GeneralFailureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.alachisoft.ncache.runtime.exceptions.CacheException
-
- com.alachisoft.ncache.runtime.exceptions.GeneralFailureException
-
- All Implemented Interfaces:
java.io.Serializable
public class GeneralFailureException extends CacheException
Thrown when an exception occurs during a clustered operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GeneralFailureException()Constructs anGeneralFailureExceptionwithnullas its error detail message.GeneralFailureException(int errorCode, java.lang.String reason)GeneralFailureException(int errorCode, java.lang.String reason, java.lang.String stackTrace)GeneralFailureException(java.lang.String s)Constructs anGeneralFailureExceptionwith the specified detail message.GeneralFailureException(java.lang.String s, java.lang.Throwable exception)GeneralFailureException(java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class com.alachisoft.ncache.runtime.exceptions.CacheException
getErrorCode, printStackTrace, setErrorCode
-
-
-
-
Constructor Detail
-
GeneralFailureException
public GeneralFailureException()
Constructs anGeneralFailureExceptionwithnullas its error detail message.
-
GeneralFailureException
public GeneralFailureException(java.lang.String s)
Constructs anGeneralFailureExceptionwith the specified detail message. The error message stringscan later be retrieved by themethod of classThrowable.getMessage()java.lang.Throwable.- Parameters:
s- the detail message.
-
GeneralFailureException
public GeneralFailureException(java.lang.Throwable cause)
-
GeneralFailureException
public GeneralFailureException(java.lang.String s, java.lang.Throwable exception)
-
GeneralFailureException
public GeneralFailureException(int errorCode, java.lang.String reason)
-
GeneralFailureException
public GeneralFailureException(int errorCode, java.lang.String reason, java.lang.String stackTrace)
-
-