postalcode
Class PostalCodeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--postalcode.PostalCodeException

public class PostalCodeException
extends java.lang.Exception

This class defines an exception that will be thrown if a postal code is invalid.

See Also:
Serialized Form

Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
PostalCodeException()
          Default constructor.
PostalCodeException(java.lang.String message)
          Constructor that provides more details as to what caused the exception to be thrown.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

PostalCodeException

public PostalCodeException()
Default constructor. Does not provide details.

PostalCodeException

public PostalCodeException(java.lang.String message)
Constructor that provides more details as to what caused the exception to be thrown.
Parameters:
message - The message giving details about the cause of the exception.