org.exolab.castor.jdo

Class FatalPersistenceException


public class FatalPersistenceException
extends PersistenceException

A fatal exception indicates the persistence engine is no longer usable. Will be thrown it the persistence engine identified that the connection is closed, no longer valid, etc. The caller may identify this exception type and properly report the exception to the connection pool manager.
Version:
$Revision: 5951 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
Author:
Assaf Arkin

Constructor Summary

FatalPersistenceException(String message)
Creates a new CastorException with the given message.
FatalPersistenceException(String message, Throwable exception)
Creates a new CastorException with the given message and cause.

Method Summary

Methods inherited from class org.exolab.castor.core.exceptions.CastorException

getCause, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace

Constructor Details

FatalPersistenceException

public FatalPersistenceException(String message)
Creates a new CastorException with the given message.
Parameters:
message - the message for this Exception

FatalPersistenceException

public FatalPersistenceException(String message,
                                 Throwable exception)
Creates a new CastorException with the given message and cause.
Parameters:
message - The message for this exception.

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com