org.enblom.time
Class TimeOutOfRangeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.enblom.time.TimeOutOfRangeException
All Implemented Interfaces:
Serializable

public class TimeOutOfRangeException
extends RuntimeException

An exception showing that a time, time of day or date is out of range. Normally, a date should be within within the range Jan 1, 1000 to Dec 31, 9999, and the time of day should be within the range 00:00:00.000 to 23:59:59.999.

Author:
Andreas Enblom
See Also:
Serialized Form

Constructor Summary
TimeOutOfRangeException()
          Creates a new exception.
TimeOutOfRangeException(String message)
          Creates a new exception with the given message.
TimeOutOfRangeException(String message, Throwable cause)
          Creates a new exception with the given message and cause.
TimeOutOfRangeException(Throwable cause)
          Creates a new exception with the given cause.
 
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

TimeOutOfRangeException

public TimeOutOfRangeException()
Creates a new exception.


TimeOutOfRangeException

public TimeOutOfRangeException(String message,
                               Throwable cause)
Creates a new exception with the given message and cause.

Parameters:
message - The message.
cause - The cause.

TimeOutOfRangeException

public TimeOutOfRangeException(String message)
Creates a new exception with the given message.

Parameters:
message - The message.

TimeOutOfRangeException

public TimeOutOfRangeException(Throwable cause)
Creates a new exception with the given cause.

Parameters:
cause - The cause.


Copyright © 2013. All Rights Reserved.