net.stickycode.coercion
Class AbstractFailedToCoerceValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.stickycode.exception.PermanentException
net.stickycode.coercion.AbstractFailedToCoerceValueException
- All Implemented Interfaces:
- Serializable
public abstract class AbstractFailedToCoerceValueException
- extends net.stickycode.exception.PermanentException
A super type for exceptions that can be thrown during coercion.
This exception is abstract as each coercion should have specific well named exceptions of its own.
All coercion failures are permanent as coercions should not rely on any other systems so all failures will recur.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AbstractFailedToCoerceValueException
public AbstractFailedToCoerceValueException(Throwable cause,
String message,
Object... arguments)
- Construct a coercion failure message where there was an exceptional cause.
- Parameters:
cause - The cause of the problemmessage - The parameterized messagearguments - The arguments for parameterization, can be empty
AbstractFailedToCoerceValueException
public AbstractFailedToCoerceValueException(String message,
Object... arguments)
- Construct a coercion failure message.
- Parameters:
message - The parameterized messagearguments - The arguments for parameterization, can be empty
Copyright © 2003-2011 RedEngine Ltd. All Rights Reserved.