net.sourceforge.hiveutils.service.impl
Class ExceptionMappingContribution

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by net.sourceforge.hiveutils.service.impl.ExceptionMappingContribution
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder

public class ExceptionMappingContribution
extends org.apache.hivemind.impl.BaseLocatable

Represents a configuration parameter to the AdapterBuilderFactory, indicating how to map one Exception to another.

Author:
Jean-Francois Poilpret

Constructor Summary
ExceptionMappingContribution()
           
 
Method Summary
 java.lang.Class getFrom()
           
 java.lang.Class getTo()
           
 void setFrom(java.lang.Class from)
           
 void setTo(java.lang.Class to)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionMappingContribution

public ExceptionMappingContribution()
Method Detail

setFrom

public void setFrom(java.lang.Class from)

getFrom

public java.lang.Class getFrom()

setTo

public void setTo(java.lang.Class to)

getTo

public java.lang.Class getTo()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object