org.apache.commons.math.exception
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 MathThrowableInterface for commons-math throwables.- Since:
- 2.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.Object[]getArguments()Gets the arguments used to build the message of this throwable.LocalizablegetGeneralPattern()Gets the localizable pattern used to build the general part of the message of this throwable.java.lang.StringgetLocalizedMessage()Gets the message in the system default locale.java.lang.StringgetMessage()Gets the message in a conventional US locale.java.lang.StringgetMessage(java.util.Locale locale)Gets the message in a specified locale.LocalizablegetSpecificPattern()Gets the localizable pattern used to build the specific part of the message of this throwable.
-
-
-
Method Detail
-
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
java.lang.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
java.lang.String getMessage(java.util.Locale locale)
Gets the message in a specified locale.- Parameters:
locale- Locale in which the message should be translated- Returns:
- localized message
-
getMessage
java.lang.String getMessage()
Gets the message in a conventional US locale.- Returns:
- localized message
-
getLocalizedMessage
java.lang.String getLocalizedMessage()
Gets the message in the system default locale.- Returns:
- localized message
-
-
DataMelt 3.0 © DataMelt by jWork.ORG