Package org.flag4j.util.exceptions
Class TensorShapeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.flag4j.util.exceptions.LinearAlgebraException
org.flag4j.util.exceptions.TensorShapeException
-
Constructor Summary
ConstructorDescriptionTensorShapeException
(String errMsg) Creates aLinearAlgebraException
to be thrown for a linear algebra related error.TensorShapeException
(String errMsg, Shape shape) Creates aLinearAlgebraException
to be thrown for a linear algebra related error.TensorShapeException
(String errMsg, Shape shape1, Shape shape2) Creates aLinearAlgebraException
to be thrown for a linear algebra related error. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TensorShapeException
Creates aLinearAlgebraException
to be thrown for a linear algebra related error.- Parameters:
errMsg
- Error message for the exception.
-
TensorShapeException
Creates aLinearAlgebraException
to be thrown for a linear algebra related error.- Parameters:
errMsg
- Error message for the exception.
-
TensorShapeException
Creates aLinearAlgebraException
to be thrown for a linear algebra related error.- Parameters:
errMsg
- Error message for the exception.
-