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
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
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
-
-