Package org.wildfly.security.permission
Class InvalidPermissionClassException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.wildfly.security.permission.InvalidPermissionClassException
-
- All Implemented Interfaces:
Serializable
public class InvalidPermissionClassException extends IllegalArgumentException
An exception which is thrown when an invalid permission class is instantiated.- Author:
- David M. Lloyd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidPermissionClassException()
Constructs a newInvalidPermissionClassException
instance.InvalidPermissionClassException(String msg)
Constructs a newInvalidPermissionClassException
instance with an initial message.InvalidPermissionClassException(String msg, Throwable cause)
Constructs a newInvalidPermissionClassException
instance with an initial message and cause.InvalidPermissionClassException(Throwable cause)
Constructs a newInvalidPermissionClassException
instance with an initial cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidPermissionClassException
public InvalidPermissionClassException()
Constructs a newInvalidPermissionClassException
instance. The message is left blank (null
), and no cause is specified.
-
InvalidPermissionClassException
public InvalidPermissionClassException(String msg)
Constructs a newInvalidPermissionClassException
instance with an initial message. No cause is specified.- Parameters:
msg
- the message
-
InvalidPermissionClassException
public InvalidPermissionClassException(Throwable cause)
Constructs a newInvalidPermissionClassException
instance with an initial cause. If a non-null
cause is specified, its message is used to initialize the message of thisInvalidPermissionClassException
; otherwise the message is left blank (null
).- Parameters:
cause
- the cause
-
-