de.jstacs.algorithms.optimization
Class DimensionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.jstacs.algorithms.optimization.DimensionException
- All Implemented Interfaces:
- Serializable
public class DimensionException
- extends Exception
This class is for Exception
s depending on wrong dimensions of vectors
for a given function.
- Author:
- Jens Keilwagen
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DimensionException
public DimensionException()
- Creates a new
DimensionException
with standard error message
("The vector has wrong dimension for this function.").
DimensionException
public DimensionException(int dimV,
int dimF)
- Creates a new
DimensionException
with a more detailed error
message.
- Parameters:
dimV
- the dimension of the vectordimF
- the dimension of the function