uk.org.ogsadai.exception
Class DAIOutOfBoundsException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.exception.DAIException
                    |
                    +--uk.org.ogsadai.exception.DAIOutOfBoundsException
All Implemented Interfaces:
DAIExceptionInformation, java.io.Serializable

public class DAIOutOfBoundsException
extends DAIException

Exception thrown when a numerical value is out of bounds.

Associated with error ID: uk.org.ogsadai.NUMBER_OUT_OF_BOUNDS_ERROR and uk.org.ogsadai.NUMBER_LESS_THAN_BOUNDS_ERROR

Author:
The OGSA-DAI Project Team
See Also:
Serialized Form

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright
 
Fields inherited from class uk.org.ogsadai.exception.DAIException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
DAIOutOfBoundsException(float value, float lower)
          Constructor.
DAIOutOfBoundsException(float value, float lower, float upper)
          Constructor.
DAIOutOfBoundsException(int value, int lower)
          Constructor.
DAIOutOfBoundsException(int value, int lower, int upper)
          Constructor.
DAIOutOfBoundsException(long value, long lower)
          Constructor.
DAIOutOfBoundsException(long value, long lower, long upper)
          Constructor.
 
Methods inherited from class uk.org.ogsadai.exception.DAIException
getErrorID, getExceptionID, getLocalizedMessage, getMessage, getParameters, hasChild, setErrorID, setParameters
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright

See Also:
Constant Field Values
Constructor Detail

DAIOutOfBoundsException

public DAIOutOfBoundsException(int value,
                               int lower,
                               int upper)
Constructor.

Parameters:
value - Out of bounds value.
lower - Lower acceptable bound.
upper - Upper acceptable bound.

DAIOutOfBoundsException

public DAIOutOfBoundsException(float value,
                               float lower,
                               float upper)
Constructor.

Parameters:
value - Out of bounds value.
lower - Lower acceptable bound.
upper - Upper acceptable bound.

DAIOutOfBoundsException

public DAIOutOfBoundsException(long value,
                               long lower,
                               long upper)
Constructor.

Parameters:
value - Out of bounds value.
lower - Lower acceptable bound.
upper - Upper acceptable bound.

DAIOutOfBoundsException

public DAIOutOfBoundsException(int value,
                               int lower)
Constructor.

Parameters:
value - Out of bounds value.
lower - Lower acceptable bound.

DAIOutOfBoundsException

public DAIOutOfBoundsException(float value,
                               float lower)
Constructor.

Parameters:
value - Out of bounds value.
lower - Lower acceptable bound.

DAIOutOfBoundsException

public DAIOutOfBoundsException(long value,
                               long lower)
Constructor.

Parameters:
value - Out of bounds value.
lower - Lower acceptable bound.