Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.commons.beanutils
Class ThrowExceptionConverter  view ThrowExceptionConverter download ThrowExceptionConverter.java

java.lang.Object
  extended byorg.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.


Constructor Summary
ThrowExceptionConverter()
           
 
Method Summary
 java.lang.Object convert(java.lang.Class type, java.lang.Object value)
          Convert the specified input object into an output object of the specified type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrowExceptionConverter

public ThrowExceptionConverter()
Method Detail

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