public class RadixMismatchException extends ApfloatInternalException
While it's possible to convert numbers to different radixes using the
toRadix()
methods, this is highly inefficient. If numbers
of different radixes need to be used in a calculation, they should be
explicitly converted to matching radixes before attempting the calculation.
Otherwise this exception should be thrown.
Constructor and Description |
---|
RadixMismatchException()
Constructs a new apfloat radix mismatch exception with an empty detail message.
|
RadixMismatchException(String message)
Constructs a new apfloat radix mismatch exception with the specified detail message.
|
RadixMismatchException(String message,
Throwable cause)
Constructs a new apfloat radix mismatch exception with the specified detail message and cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RadixMismatchException()
public RadixMismatchException(String message)
message
- The detail message.Copyright © 2017. All rights reserved.