Package org.flag4j.util.exceptions
Class SingularMatrixException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.flag4j.util.exceptions.LinearAlgebraException
org.flag4j.util.exceptions.SingularMatrixException
- All Implemented Interfaces:
Serializable
An exception which is thrown when some operation not defined for singular matrices is attempted to be
performed on a singular matrix. For example, attempting to invert a singular matrix.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreates a SingularMatrixException with the simple error message "Matrix is singular."SingularMatrixException
(String errMsg) Creates a SingularMatrixException with a specified error message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
INFO
- See Also:
-
-
Constructor Details
-
SingularMatrixException
public SingularMatrixException()Creates a SingularMatrixException with the simple error message "Matrix is singular." -
SingularMatrixException
Creates a SingularMatrixException with a specified error message. Note, the string " Matrix is singular." will be automatically appended to the error message.- Parameters:
errMsg
- Error message to display when this SingularMatrixException is thrown.
-