org.das2.datum
Class InconvertibleUnitsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by org.das2.datum.InconvertibleUnitsException
All Implemented Interfaces:
java.io.Serializable

public class InconvertibleUnitsException
extends java.lang.IllegalArgumentException

introduced so that clients can more precisely catch this exception.

See Also:
Serialized Form

Constructor Summary
InconvertibleUnitsException(Units fromUnits, Units toUnits)
          Creates a new instance of InconvertibleUnitsException
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InconvertibleUnitsException

public InconvertibleUnitsException(Units fromUnits,
                                   Units toUnits)
Creates a new instance of InconvertibleUnitsException