Class OutOfBoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
be.gaudry.model.exception.OutOfBoundException
All Implemented Interfaces:
Serializable

public class OutOfBoundException extends Exception
Thrown to indicate that an object member has been set with a value out of the allowed range of values. Provided by the broldev.core.model project.
Since:
1.0 Oct 22, 2010, broldev.core.model 0.1.17 dependency
Version:
1.0 Oct 22, 2010
Author:
Steph GAUDRY
See Also:
Serialized Form
  • Constructor Details

    • OutOfBoundException

      public OutOfBoundException()
      Builds an OutOfBoundException with no detail message.
    • OutOfBoundException

      public OutOfBoundException(Object outOfBoundObject, Object lowerBound, Object upperBound)
      Builds an OutOfBoundException with bounds and value information
      Parameters:
      outOfBoundObject -
      lowerBound -
      upperBound -
  • Method Details

    • getLocalizedMessage

      public String getLocalizedMessage()
      Overrides:
      getLocalizedMessage in class Throwable
    • getLowerBound

      public Object getLowerBound()
      Returns:
      the lower boundary
    • getUpperBound

      public Object getUpperBound()
      Returns:
      the upper boundary
    • getOutOfBoundCause

      public Object getOutOfBoundCause()
      Returns:
      the out of bound object