- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.helidon.security.SecurityException
-
- All Implemented Interfaces:
Serializable
public class SecurityException extends RuntimeException
Runtime exception used as by this module to be able to identify exception caused by it.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecurityException(String message)
Create a new security exception.SecurityException(String message, Throwable cause)
Create a new security exception.SecurityException(Throwable cause)
Create a new security exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SecurityException
public SecurityException(String message)
Create a new security exception.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
SecurityException
public SecurityException(String message, Throwable cause)
Create a new security exception.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
SecurityException
public SecurityException(Throwable cause)
Create a new security exception.- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-