FantasySportsModule 0.0.2-dev

org.fanfoot.db
Class DBException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.fanfoot.db.DBException
All Implemented Interfaces:
java.io.Serializable

public class DBException
extends java.lang.Exception

Author:
rgardler
See Also:
Serialized Form

Field Summary
static java.lang.String UNRECOGNISED_ID_MESSAGE
          Message used when an attempt is made to retrieve a player with a non-existent ID
 
Constructor Summary
DBException()
          Creates a new instance of DBException without detail message.
DBException(java.lang.String msg)
          Constructs an instance of DBException with the specified detail message.
DBException(java.lang.String msg, java.lang.Exception e)
          Constructs an instance of DBExcepotion with the specified detail message and the root exception supplied
 
Method Summary
 void printStackTrace()
          Print the stack trace of the nested exception
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNRECOGNISED_ID_MESSAGE

public static java.lang.String UNRECOGNISED_ID_MESSAGE
Message used when an attempt is made to retrieve a player with a non-existent ID

Constructor Detail

DBException

public DBException()
Creates a new instance of DBException without detail message.


DBException

public DBException(java.lang.String msg)
Constructs an instance of DBException with the specified detail message.

Parameters:
msg - the detail message.

DBException

public DBException(java.lang.String msg,
                   java.lang.Exception e)
Constructs an instance of DBExcepotion with the specified detail message and the root exception supplied

Parameters:
msg - the detail message.
e - the root exception
Method Detail

printStackTrace

public void printStackTrace()
Print the stack trace of the nested exception

Overrides:
printStackTrace in class java.lang.Throwable

FantasySportsModule 0.0.2-dev

Copyright © 2003 We know What you Want.net. All Rights Reserved.