org.apfloat
Class InfiniteExpansionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apfloat.ApfloatRuntimeException
                  extended by org.apfloat.InfiniteExpansionException
All Implemented Interfaces:
Serializable

public class InfiniteExpansionException
extends ApfloatRuntimeException

Exception indicating that the result of an operation would have infinite size.

For example, new Apfloat(2).divide(new Apfloat(3)), in radix 10.

Since:
1.5
Version:
1.5
Author:
Mikko Tommila
See Also:
Serialized Form

Constructor Summary
InfiniteExpansionException()
          Constructs a new apfloat infinite expansion exception with an empty detail message.
InfiniteExpansionException(String message)
          Constructs a new apfloat infinite expansion exception with the specified detail message.
InfiniteExpansionException(String message, Throwable cause)
          Constructs a new apfloat infinite expansion exception with the specified detail message and cause.
 
Method Summary
 
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

InfiniteExpansionException

public InfiniteExpansionException()
Constructs a new apfloat infinite expansion exception with an empty detail message.


InfiniteExpansionException

public InfiniteExpansionException(String message)
Constructs a new apfloat infinite expansion exception with the specified detail message.

Parameters:
message - The detail message.

InfiniteExpansionException

public InfiniteExpansionException(String message,
                                  Throwable cause)
Constructs a new apfloat infinite expansion exception with the specified detail message and cause.

Parameters:
message - The detail message.
cause - Originating cause of the exception.