Package org.jscience.mathematics.vector
Class DimensionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jscience.mathematics.vector.DimensionException
-
- All Implemented Interfaces:
Serializable
public class DimensionException extends RuntimeException
Signals that an operation is performed upon vectors or matrices whose dimensions disagree.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DimensionException()
Constructs a dimension exception with no detail message.DimensionException(String message)
Constructs a dimension exception with the specified message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DimensionException
public DimensionException()
Constructs a dimension exception with no detail message.
-
DimensionException
public DimensionException(String message)
Constructs a dimension exception with the specified message.- Parameters:
message
- the error message.
-
-