Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class nl.coffee.math.CanNotCompareException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--nl.coffee.math.CanNotCompareException

public class CanNotCompareException
extends java.lang.Exception
Exception thrown to indicate a compare operation failed. This exception is thrown by the compareTo(RealNumber) method in interface RealNumber.

Since:
JUMP_1.0
Version:
1.0 199809.24
Author:
Ernst de Haan
See Also:
compareTo(RealNumber), Serialized Form

Constructor Summary
CanNotCompareException(RealNumber a, RealNumber b)
          Constructs a new CanNotCompareException for a failed comparison between the specified numbers.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

CanNotCompareException

public CanNotCompareException(RealNumber a,
                              RealNumber b)
Constructs a new CanNotCompareException for a failed comparison between the specified numbers.
Parameters:
a - the first number.
b - the second number.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD