public class DimensionException extends Exception
Exception
s depending on wrong dimensions of vectors
for a given function.Constructor and Description |
---|
DimensionException()
Creates a new
DimensionException with standard error message
("The vector has wrong dimension for this function."). |
DimensionException(int dimV,
int dimF)
Creates a new
DimensionException with a more detailed error
message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DimensionException()
DimensionException
with standard error message
("The vector has wrong dimension for this function.").public DimensionException(int dimV, int dimF)
DimensionException
with a more detailed error
message.dimV
- the dimension of the vectordimF
- the dimension of the function