com.rubecula.jquantity
Class InvalidOperandException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.rubecula.util.BaseException
                    |
                    +--com.rubecula.jquantity.InvalidOperandException
All Implemented Interfaces:
java.io.Serializable

public class InvalidOperandException
extends BaseException

A checked exception intended to be internal to the JQuantity package, which indicates that when a mathematical operation A op B is invoked, the class of B is not valid for the operation on A. The remedy may be to try invoking ~(B op A) where ~ indicates that the result of the operation should be "inverted".

Version:
$Revision: 1.1 $
Author:
Robin Hillyard
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
InvalidOperandException(java.lang.String 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

InvalidOperandException

public InvalidOperandException(java.lang.String message)