org.apache.commons.math.linear
Class InvalidMatrixException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.commons.math.MathRuntimeException
                  extended by org.apache.commons.math.linear.InvalidMatrixException
All Implemented Interfaces:
Serializable
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.

Version:
$Revision: 746578 $ $Date: 2009-02-21 15:01:14 -0500 (Sat, 21 Feb 2009) $
See Also:
Serialized Form

Constructor Summary
InvalidMatrixException(String pattern, Object... arguments)
          Construct an exception with the given message.
InvalidMatrixException(Throwable cause)
          Construct an exception with the given message.
 
Method Summary
 
Methods inherited from class org.apache.commons.math.MathRuntimeException
createArithmeticException, createArrayIndexOutOfBoundsException, createConcurrentModificationException, createEOFException, createIllegalArgumentException, createIllegalArgumentException, createIllegalStateException, createInternalError, createIOException, createNoSuchElementException, createNullPointerException, createParseException, getArguments, getLocalizedMessage, getMessage, getPattern, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidMatrixException

public InvalidMatrixException(String pattern,
                              Object... arguments)
Construct an exception with the given message.

Parameters:
pattern - format specifier
arguments - format arguments
Since:
2.0

InvalidMatrixException

public InvalidMatrixException(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


Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.