ProgramixGenericLib v5.0.1

com.programix.time
Class PlainDateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.programix.time.PlainDateException
All Implemented Interfaces:
Serializable

public class PlainDateException
extends RuntimeException

Thrown to signal a problem processing a PlainDate. This exception is a RuntimeException, so there is not requirement to catch it when it is truly unexpected.

Author:
Paul Hyde
See Also:
Serialized Form

Constructor Summary
PlainDateException()
           
PlainDateException(String message)
           
PlainDateException(String message, Throwable cause)
           
PlainDateException(Throwable cause)
           
 
Method Summary
static PlainDateException createInvalid(int yearNumber, int monthNumber, int dayNumber)
           
static PlainDateException createParse(String source)
           
static void throwInvalid(int yearNumber, int monthNumber, int dayNumber)
           
static void throwParse(String source)
           
 
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

PlainDateException

public PlainDateException()

PlainDateException

public PlainDateException(String message)

PlainDateException

public PlainDateException(String message,
                          Throwable cause)

PlainDateException

public PlainDateException(Throwable cause)
Method Detail

createParse

public static PlainDateException createParse(String source)

throwParse

public static void throwParse(String source)
                       throws PlainDateException
Throws:
PlainDateException

createInvalid

public static PlainDateException createInvalid(int yearNumber,
                                               int monthNumber,
                                               int dayNumber)

throwInvalid

public static void throwInvalid(int yearNumber,
                                int monthNumber,
                                int dayNumber)
                         throws PlainDateException
Throws:
PlainDateException

ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.