Shapes 3D  3.0
 All Classes Functions Variables Pages
shapes3d.org.apache.commons.math.MathException Class Reference
Inheritance diagram for shapes3d.org.apache.commons.math.MathException:

Public Member Functions

 MathException ()
 
 MathException (final String msg)
 
 MathException (final String pattern, final Object[] arguments)
 
 MathException (final Throwable rootCause)
 
 MathException (final String msg, final Throwable rootCause)
 
 MathException (final String pattern, final Object[] arguments, final Throwable rootCause)
 
String getPattern ()
 
Object[] getArguments ()
 
String getMessage (final Locale locale)
 
Throwable getCause ()
 
void printStackTrace ()
 
void printStackTrace (final PrintStream out)
 
void printStackTrace (final PrintWriter out)
 

Detailed Description

Base class for commons-math checked exceptions.

Supports nesting, emulating JDK 1.4 behavior if necessary.

Version
Revision:
620312

$Date: 2008-02-10 12:28:59 -0700 (Sun, 10 Feb 2008) $

Constructor & Destructor Documentation

shapes3d.org.apache.commons.math.MathException.MathException ( )

Constructs a new MathException with no detail message.

shapes3d.org.apache.commons.math.MathException.MathException ( final String  msg)

Constructs a new MathException with specified detail message.

Parameters
msgthe error message.
Deprecated:
as of 1.2, replaced by MathException(String, Object[])
shapes3d.org.apache.commons.math.MathException.MathException ( final String  pattern,
final Object[]  arguments 
)

Constructs a new MathException with specified formatted detail message. Message formatting is delegated to java.text.MessageFormat.

Parameters
patternformat specifier
argumentsformat arguments
shapes3d.org.apache.commons.math.MathException.MathException ( final Throwable  rootCause)

Constructs a new MathException with specified nested Throwable root cause.

Parameters
rootCausethe exception or error that caused this exception to be thrown.
shapes3d.org.apache.commons.math.MathException.MathException ( final String  msg,
final Throwable  rootCause 
)

Constructs a new MathException with specified detail message and nested Throwable root cause.

Parameters
msgthe error message.
rootCausethe exception or error that caused this exception to be thrown.
Deprecated:
as of 1.2, replaced by MathException(String, Object[], Throwable)
shapes3d.org.apache.commons.math.MathException.MathException ( final String  pattern,
final Object[]  arguments,
final Throwable  rootCause 
)

Constructs a new MathException with specified formatted detail message and nested Throwable root cause. Message formatting is delegated to java.text.MessageFormat.

Parameters
patternformat specifier
argumentsformat arguments
rootCausethe exception or error that caused this exception to be thrown.
Since
1.2

Member Function Documentation

Object [] shapes3d.org.apache.commons.math.MathException.getArguments ( )

Gets the arguments used to build the message of this throwable.

Returns
the arguments used to build the message of this throwable
Since
1.2
Throwable shapes3d.org.apache.commons.math.MathException.getCause ( )

Gets the cause of this throwable.

Returns
the cause of this throwable, or null
String shapes3d.org.apache.commons.math.MathException.getMessage ( final Locale  locale)

Gets the message in a specified locale.

Parameters
localeLocale in which the message should be translated
Returns
localized message
Since
1.2
String shapes3d.org.apache.commons.math.MathException.getPattern ( )

Gets the pattern used to build the message of this throwable.

Returns
the pattern used to build the message of this throwable
Since
1.2
void shapes3d.org.apache.commons.math.MathException.printStackTrace ( )

Prints the stack trace of this exception to the standard error stream.

void shapes3d.org.apache.commons.math.MathException.printStackTrace ( final PrintStream  out)

Prints the stack trace of this exception to the specified stream.

Parameters
outthe PrintStream to use for output
void shapes3d.org.apache.commons.math.MathException.printStackTrace ( final PrintWriter  out)

Prints the stack trace of this exception to the specified writer.

Parameters
outthe PrintWriter to use for output

The documentation for this class was generated from the following file: