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 exceptions 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 message ("The
vector has wrong dimension for this function.").
DimensionException
public DimensionException(int dimV,
int dimF)
- Creates a new
DimensionException with a more detailed message.
- Parameters:
dimV - dimension of the vectordimF - dimension of the function