java.lang.Object
org.apache.commons.beanutils.ThrowExceptionConverter
- All Implemented Interfaces:
- Converter
- public class ThrowExceptionConverter
- extends java.lang.Object
- implements Converter
Converter implementation that throws a PassTestException
when convert is called.
The idea is that catching this exception is a clear signal that this method
has been called.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThrowExceptionConverter
public ThrowExceptionConverter()
convert
public java.lang.Object convert(java.lang.Class type,
java.lang.Object value)
- Description copied from interface:
Converter
- Convert the specified input object into an output object of the
specified type.
- Specified by:
convert in interface Converter