public class AbstractMetaclassException
extends java.lang.RuntimeException
Constructor and Description |
---|
AbstractMetaclassException(MClass metaclass)
Preferred constructor, computes a default message.
|
AbstractMetaclassException(MClass metaclass,
java.lang.String message)
Constructor with a custom message
|
AbstractMetaclassException(MClass metaclass,
java.lang.String message,
java.lang.Throwable cause)
Constructor with a custom message and a cause.
|
Modifier and Type | Method and Description |
---|---|
MClass |
getMetaclass() |
public AbstractMetaclassException(MClass metaclass)
metaclass
- the abstract metaclass.public AbstractMetaclassException(MClass metaclass, java.lang.String message)
metaclass
- the abstract metaclass.message
- the custom messagepublic AbstractMetaclassException(MClass metaclass, java.lang.String message, java.lang.Throwable cause)
metaclass
- the abstract metaclass.message
- the custom messagecause
- cause the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public MClass getMetaclass()