Class NotConstructableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.comphenix.protocol.reflect.instances.NotConstructableException
- All Implemented Interfaces:
Serializable
Invoked when a instance provider indicates that a given type cannot or should not be
constructed under any circumstances.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new not constructable exception.NotConstructableException(String message) Construct a new not constructable exception with a custom message.NotConstructableException(String message, Throwable cause) Construct a new not constructable exception with a custom message and cause.Construct a new not constructable exception with a custom cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotConstructableException
public NotConstructableException()Construct a new not constructable exception. -
NotConstructableException
Construct a new not constructable exception with a custom message.- Parameters:
message- - detail message
-
NotConstructableException
Construct a new not constructable exception with a custom message and cause.- Parameters:
message- - detail messagecause- - cause
-
NotConstructableException
Construct a new not constructable exception with a custom cause.- Parameters:
cause- - cause
-