Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`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.

Method Summary

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### 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 vector
    `dimF` - the dimension of the function

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD