it.mokabyte.pattern.exception
Class BankException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--it.mokabyte.pattern.exception.BankException
All Implemented Interfaces:
java.io.Serializable

public class BankException
extends java.lang.Exception

An all-encompassing Exception class for this Banking application. Any application exception shall be thrown as a BankException.

See Also:
Serialized Form

Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
BankException()
          The no-arg constructor
BankException(java.lang.String message)
          Construct a BankEnxception with an error message
 
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

BankException

public BankException()
The no-arg constructor

BankException

public BankException(java.lang.String message)
Construct a BankEnxception with an error message
Parameters:
message - the error message