SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.matrix
Class MatrixMismatchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.numericalmethod.suanshu.matrix.MatrixMismatchException
All Implemented Interfaces:
java.io.Serializable

public class MatrixMismatchException
extends java.lang.RuntimeException

This defines the RuntimeException thrown when operation acts on matrices that have incompatible dimensions.

E.g.,

See Also:
Serialized Form

Constructor Summary
MatrixMismatchException()
          Construct a MatrixMismatchException.
MatrixMismatchException(java.lang.String msg)
          Construct a MatrixMismatchException with a message.
 
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

MatrixMismatchException

public MatrixMismatchException()
Construct a MatrixMismatchException.


MatrixMismatchException

public MatrixMismatchException(java.lang.String msg)
Construct a MatrixMismatchException with a message.

Parameters:
msg - an error message

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.