WPI GDC CMS 0.0.1

org.wpi.gdc.cms.db
Class DatabaseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.wpi.gdc.cms.db.DatabaseException
All Implemented Interfaces:
java.io.Serializable

public class DatabaseException
extends java.lang.Exception

Indicates that an error occured while attempting to load data from a database. These exceptions can also embed another exception.

Version:
1.5
Author:
dmpotter
See Also:
Serialized Form

Constructor Summary
DatabaseException()
          Creates a new DatabaseException with no message and no embedded throwable.
DatabaseException(java.lang.String msg)
          Creates a new DatabaseException with the specified message and no embedded throwable.
DatabaseException(java.lang.String msg, java.lang.Throwable t)
          Creates a new DatabaseException with the specified message and embedded throwable.
 
Method Summary
 java.lang.Throwable getEmbeddedThrowable()
          Gets the embedded throwable or null if there is none.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseException

public DatabaseException(java.lang.String msg,
                         java.lang.Throwable t)
Creates a new DatabaseException with the specified message and embedded throwable.
Parameters:
msg - the message
t - the throwable to embed

DatabaseException

public DatabaseException(java.lang.String msg)
Creates a new DatabaseException with the specified message and no embedded throwable.
Parameters:
msg - the message

DatabaseException

public DatabaseException()
Creates a new DatabaseException with no message and no embedded throwable.
Method Detail

getEmbeddedThrowable

public java.lang.Throwable getEmbeddedThrowable()
Gets the embedded throwable or null if there is none.
Returns:
the embedded throwable or null if there is none

WPI GDC CMS 0.0.1

Copyright © 2001 WPI Game Development Club. All Rights Reserved.