public class EnumerationNotUsedException
extends java.lang.RuntimeException
Modifier and Type | Class and Description |
---|---|
static class |
EnumerationNotUsedException.EUnknown |
Constructor and Description |
---|
EnumerationNotUsedException()
Creates a new exception of a not used enumeration.
|
EnumerationNotUsedException(java.lang.Enum<?> enum_)
Constructor.
|
EnumerationNotUsedException(java.lang.String message_)
Creates a new exception of a not used enumeration.
|
EnumerationNotUsedException(java.lang.String message_,
java.lang.Throwable cause_)
Creates a new exception of a not used enumeration.
|
EnumerationNotUsedException(java.lang.Throwable cause_)
Creates a new exception of a not used enumeration.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Enum<?> |
getEnum()
Returns the enumeration instance.
|
public EnumerationNotUsedException()
public EnumerationNotUsedException(java.lang.Enum<?> enum_)
enum_
- The not used enumeration.public EnumerationNotUsedException(java.lang.String message_)
message_
- Sets the message as its description.public EnumerationNotUsedException(java.lang.Throwable cause_)
cause_
- Is the cause of this exception.public EnumerationNotUsedException(java.lang.String message_, java.lang.Throwable cause_)
message_
- Sets the message as its description.cause_
- Is the cause of this exception.public java.lang.Enum<?> getEnum()
EnumerationNotUsedException.EUnknown.UNKNOWN
is
returned.14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft