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
- Author:
- Jens Keilwagen
- See Also:
- Serialized Form
Constructor Summary |
DimensionException()
Creates a new DimensionException with standard message ("The vector has wrong dimension for this
function. |
DimensionException(int dimV,
int dimF)
Creates a new DimensionException with a more detailed message. |
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