net.agmodel.physical
Class UnitDimensionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--net.agmodel.physical.UnitDimensionException
All Implemented Interfaces:
Serializable

public class UnitDimensionException
extends RuntimeException

Thrown when two different kind of quantities are added/substracted.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
UnitDimensionException()
          Constructs an UnitDimensionException with no detail message.
UnitDimensionException(String s)
          Constructs an UnitDimensionException with the specified detail message.
 
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

UnitDimensionException

public UnitDimensionException()
Constructs an UnitDimensionException with no detail message.


UnitDimensionException

public UnitDimensionException(String s)
Constructs an UnitDimensionException with the specified detail message.

Parameters:
s - the detail message.