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:
java.io.Serializable
,MathThrowable
- Direct Known Subclasses:
NonSquareMatrixException
,SingularMatrixException
public class InvalidMatrixException extends MathRuntimeException
Thrown when a system attempts an operation on a matrix, and that matrix does not satisfy the preconditions for the aforementioned operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidMatrixException(java.lang.String pattern, java.lang.Object... arguments)
Deprecated.since 2.2 replaced byInvalidMatrixException(Localizable, Object...)
InvalidMatrixException(java.lang.Throwable cause)
Construct an exception with the given message.InvalidMatrixException(Localizable pattern, java.lang.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
-
-
-
-
Constructor Detail
-
InvalidMatrixException
@Deprecated public InvalidMatrixException(java.lang.String pattern, java.lang.Object... arguments)
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
public InvalidMatrixException(Localizable pattern, java.lang.Object... arguments)
Construct an exception with the given message.- Parameters:
pattern
- format specifierarguments
- format arguments- Since:
- 2.2
-
InvalidMatrixException
public InvalidMatrixException(java.lang.Throwable cause)
Construct an exception with the given message.- Parameters:
cause
- the exception or error that caused this exception to be thrown.- Since:
- 2.0
-
-