public class MantissaException
extends java.lang.Exception
When the mantissa classes throw exceptions that are specific to the package, these exceptions are always subclasses of MantissaException. When exceptions that are already covered by the standard java API should be thrown, like ArrayIndexOutOfBoundsException or IllegalArgumentException, these standard exceptions are thrown rather than the mantissa specific ones.
| Constructor and Description |
|---|
MantissaException()
Simple constructor.
|
MantissaException(java.lang.String message)
Simple constructor.
|
MantissaException(java.lang.String specifier,
java.lang.String[] parts)
Simple constructor.
|
MantissaException(java.lang.String specifier,
java.lang.String[] parts,
java.lang.Throwable cause)
Simple constructor.
|
MantissaException(java.lang.String message,
java.lang.Throwable cause)
Simple constructor.
|
MantissaException(java.lang.Throwable cause)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
translate(java.lang.String s)
Translate a string.
|
static java.lang.String |
translate(java.lang.String specifier,
java.lang.String[] parts)
Translate a message.
|
public MantissaException()
public MantissaException(java.lang.String message)
message - message to translatepublic MantissaException(java.lang.String specifier,
java.lang.String[] parts)
specifier - format specifier (to be translated)parts - to insert in the format (no translation)public MantissaException(java.lang.Throwable cause)
cause - cause of this exceptionpublic MantissaException(java.lang.String message,
java.lang.Throwable cause)
message - message to translatecause - cause of this exceptionpublic MantissaException(java.lang.String specifier,
java.lang.String[] parts,
java.lang.Throwable cause)
specifier - format specifier (to be translated)parts - to insert in the format (no translation)cause - cause of this exceptionpublic static java.lang.String translate(java.lang.String s)
s - string to translatepublic static java.lang.String translate(java.lang.String specifier,
java.lang.String[] parts)
specifier - format specifier (to be translated)parts - to insert in the format (no translation)Copyright © 2001-2007 Luc Maisonobe. All Rights Reserved.