edu.isi.stella
Class IncompatibleQuantityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.isi.stella.StellaException
                  extended by edu.isi.stella.IncompatibleQuantityException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IncompatibleUnitsException

public class IncompatibleQuantityException
extends StellaException

Exception thrown when an operation is attempted on quantities that are not compatible with the requested operation. For example, comparing dates and time durations.

See Also:
Serialized Form

Constructor Summary
IncompatibleQuantityException(java.lang.String message)
           
 
Method Summary
static IncompatibleQuantityException newIncompatibleQuantityException(java.lang.String message)
           
 
Methods inherited from class edu.isi.stella.StellaException
newStellaException
 
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

IncompatibleQuantityException

public IncompatibleQuantityException(java.lang.String message)
Method Detail

newIncompatibleQuantityException

public static IncompatibleQuantityException newIncompatibleQuantityException(java.lang.String message)