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 anSecurityException
withnull
as its error detail message.SecurityException(int errorCode, java.lang.String reason, java.lang.String stackTrace)
SecurityException(java.lang.String s)
Constructs anSecurityException
with 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 anSecurityException
withnull
as its error detail message.
-
SecurityException
public SecurityException(java.lang.String s)
Constructs anSecurityException
with the specified detail message. The error message strings
can later be retrieved by the
method of classThrowable.getMessage()
java.lang.Throwable
.- Parameters:
s
- the detail message.
-
SecurityException
public SecurityException(int errorCode, java.lang.String reason, java.lang.String stackTrace)
-
-