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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.