Package net.anotheria.asg.exception
Class ConstantNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.anotheria.asg.exception.ASGRuntimeException
-
- net.anotheria.asg.exception.ConstantNotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
public class ConstantNotFoundException extends ASGRuntimeException
Exception thrown by getConstantByXXX methods of generated Enum types if no enum's constant with such property found.- Version:
- $Id: $Id
- Author:
- another
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConstantNotFoundException(java.lang.String message)Creates a new exception with a message.ConstantNotFoundException(java.lang.String message, java.lang.Throwable cause)Creates a new exception with a message and a cause.ConstantNotFoundException(java.lang.Throwable cause)Creates a new exception with a cause.
-
-
-
Constructor Detail
-
ConstantNotFoundException
public ConstantNotFoundException(java.lang.String message)
Creates a new exception with a message.- Parameters:
message- aStringobject.
-
ConstantNotFoundException
public ConstantNotFoundException(java.lang.Throwable cause)
Creates a new exception with a cause.- Parameters:
cause- aThrowableobject.
-
ConstantNotFoundException
public ConstantNotFoundException(java.lang.String message, java.lang.Throwable cause)Creates a new exception with a message and a cause.- Parameters:
cause- aThrowableobject.message- aStringobject.
-
-