Class SecurityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.alachisoft.ncache.runtime.exceptions.CacheException
-
- com.alachisoft.ncache.runtime.exceptions.SecurityException
-
- All Implemented Interfaces:
java.io.Serializable
public class SecurityException extends CacheException
Thrown when a user does not have the permissions to start/stop/initialize the cache.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecurityException()Constructs anSecurityExceptionwithnullas its error detail message.SecurityException(int errorCode, java.lang.String reason, java.lang.String stackTrace)SecurityException(java.lang.String s)Constructs anSecurityExceptionwith the specified detail message.
-
Method Summary
-
Methods inherited from class com.alachisoft.ncache.runtime.exceptions.CacheException
getErrorCode, printStackTrace, setErrorCode
-
-
-
-
Constructor Detail
-
SecurityException
public SecurityException()
Constructs anSecurityExceptionwithnullas its error detail message.
-
SecurityException
public SecurityException(java.lang.String s)
Constructs anSecurityExceptionwith the specified detail message. The error message stringscan later be retrieved by themethod of classThrowable.getMessage()java.lang.Throwable.- Parameters:
s- the detail message.
-
SecurityException
public SecurityException(int errorCode, java.lang.String reason, java.lang.String stackTrace)
-
-