matrix
Class MatrixException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by matrix.MatrixException
All Implemented Interfaces:
java.io.Serializable

public class MatrixException
extends java.lang.RuntimeException

A MatrixException should be thrown when attempting to add or multiply matrices of incorrect dimensions.

See Also:
Serialized Form

Constructor Summary
MatrixException(java.lang.String reason)
          Creates a MatrixException object with the indicated reason.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MatrixException

public MatrixException(java.lang.String reason)
Creates a MatrixException object with the indicated reason.

Parameters:
reason - the reason why this MatrixException is being thrown.