|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object Throwable Exception RuntimeException PersistenceException DatabaseNotRegisteredException
DatabaseNotRegisteredException is thrown when an attempt is made to use a database that was not registered with the persistence manager and described in the metadata.
Constructor Summary | |
DatabaseNotRegisteredException(PersistenceManager pm,
String databaseName)
Construct a DatabaseNotRegisteredException. |
Method Summary | |
void |
handle()
Handle this exception by writing a description of the exception to the log file. |
Methods inherited from class PersistenceException |
header, manager, name, trailer |
Methods inherited from class Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DatabaseNotRegisteredException(PersistenceManager pm, String databaseName)
pm
- the persistence manager.databaseName
- the name of the unregistered database.Method Detail |
public void handle()
handle
in class PersistenceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |