Interface MathThrowable
- All Known Implementing Classes:
ArgumentOutsideDomainException
,CardanEulerSingularityException
,ConvergenceException
,ConvergenceException
,DerivativeException
,DimensionMismatchException
,DimensionMismatchException
,DuplicateSampleAbscissaException
,EstimationException
,EventException
,FractionConversionException
,FunctionEvaluationException
,IntegratorException
,InvalidMatrixException
,MathConfigurationException
,MathException
,MathIllegalArgumentException
,MathIllegalNumberException
,MathIllegalStateException
,MathInternalError
,MathRuntimeException
,MathUnsupportedOperationException
,MatrixIndexException
,MatrixVisitorException
,MaxEvaluationsExceededException
,MaxIterationsExceededException
,NoDataException
,NoFeasibleSolutionException
,NonMonotonousSequenceException
,NonSquareMatrixException
,NotARotationMatrixException
,NotPositiveDefiniteMatrixException
,NotPositiveException
,NotStrictlyPositiveException
,NotSymmetricMatrixException
,NullArgumentException
,NumberIsTooLargeException
,NumberIsTooSmallException
,OptimizationException
,OutOfRangeException
,SingularMatrixException
,UnboundedSolutionException
,ZeroException
public interface MathThrowable
Interface for commons-math throwables.
- Since:
- 2.2
-
Method Summary
Modifier and TypeMethodDescriptionObject[]
Gets the arguments used to build the message of this throwable.Gets the localizable pattern used to build the general part of the message of this throwable.Gets the message in the system default locale.Gets the message in a conventional US locale.getMessage
(Locale locale) Gets the message in a specified locale.Gets the localizable pattern used to build the specific part of the message of this throwable.
-
Method Details
-
getSpecificPattern
Localizable getSpecificPattern()Gets the localizable pattern used to build the specific part of the message of this throwable.- Returns:
- localizable pattern used to build the specific part of the message of this throwable
-
getGeneralPattern
Localizable getGeneralPattern()Gets the localizable pattern used to build the general part of the message of this throwable.- Returns:
- localizable pattern used to build the general part of the message of this throwable
-
getArguments
Object[] getArguments()Gets the arguments used to build the message of this throwable.- Returns:
- the arguments used to build the message of this throwable
-
getMessage
Gets the message in a specified locale.- Parameters:
locale
- Locale in which the message should be translated- Returns:
- localized message
-
getMessage
String getMessage()Gets the message in a conventional US locale.- Returns:
- localized message
-
getLocalizedMessage
String getLocalizedMessage()Gets the message in the system default locale.- Returns:
- localized message
-