Package org.apache.commons.math.linear
Class InvalidMatrixException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.math.MathRuntimeException
org.apache.commons.math.linear.InvalidMatrixException
- All Implemented Interfaces:
Serializable
,MathThrowable
- Direct Known Subclasses:
NonSquareMatrixException
,SingularMatrixException
Thrown when a system attempts an operation on a matrix, and
that matrix does not satisfy the preconditions for the
aforementioned operation.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidMatrixException
(String pattern, Object... arguments) Deprecated.InvalidMatrixException
(Throwable cause) Construct an exception with the given message.InvalidMatrixException
(Localizable pattern, Object... arguments) Construct an exception with the given message. -
Method Summary
Methods inherited from class org.apache.commons.math.MathRuntimeException
createArithmeticException, createArithmeticException, createArrayIndexOutOfBoundsException, createArrayIndexOutOfBoundsException, createConcurrentModificationException, createConcurrentModificationException, createEOFException, createEOFException, createIllegalArgumentException, createIllegalArgumentException, createIllegalArgumentException, createIllegalStateException, createIllegalStateException, createInternalError, createIOException, createNoSuchElementException, createNoSuchElementException, createNullPointerException, createNullPointerException, createParseException, createParseException, createUnsupportedOperationException, getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getPattern, getSpecificPattern, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidMatrixException
Deprecated.since 2.2 replaced byInvalidMatrixException(Localizable, Object...)
Construct an exception with the given message.- Parameters:
pattern
- format specifierarguments
- format arguments- Since:
- 2.0
-
InvalidMatrixException
Construct an exception with the given message.- Parameters:
pattern
- format specifierarguments
- format arguments- Since:
- 2.2
-
InvalidMatrixException
Construct an exception with the given message.- Parameters:
cause
- the exception or error that caused this exception to be thrown.- Since:
- 2.0
-
InvalidMatrixException(Localizable, Object...)