org.apache.ojb.broker.metadata
Class ClassNotPersistenceCapableException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.commons.lang.exception.NestableRuntimeException
                  extended byorg.apache.ojb.broker.OJBRuntimeException
                      extended byorg.apache.ojb.broker.PersistenceBrokerException
                          extended byorg.apache.ojb.broker.metadata.MetadataException
                              extended byorg.apache.ojb.broker.metadata.ClassNotPersistenceCapableException
All Implemented Interfaces:
org.apache.commons.lang.exception.Nestable, java.io.Serializable

public class ClassNotPersistenceCapableException
extends MetadataException

This exception is thrown if a class is not described in the MetaData Repository, and thus cannot be handled properly by OJB

Version:
$Id: ClassNotPersistenceCapableException.java,v 1.3 2002/07/29 13:02:17 saua Exp $
Author:
Thomas Mahler
See Also:
Serialized Form

Constructor Summary
ClassNotPersistenceCapableException()
          Creates a new ClassNotPersistenceCapableException without a message and without a cause.
ClassNotPersistenceCapableException(java.lang.String message)
          Creates a new ClassNotPersistenceCapableException with the specified message.
ClassNotPersistenceCapableException(java.lang.String message, java.lang.Throwable cause)
          Creates a new ClassNotPersistenceCapableException with the specified message and the specified cause.
ClassNotPersistenceCapableException(java.lang.Throwable cause)
          Creates a new ClassNotPersistenceCapableException with the specified cause.
 
Methods inherited from class org.apache.ojb.broker.PersistenceBrokerException
getSourceException
 
Methods inherited from class org.apache.commons.lang.exception.NestableRuntimeException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassNotPersistenceCapableException

public ClassNotPersistenceCapableException()
Creates a new ClassNotPersistenceCapableException without a message and without a cause.


ClassNotPersistenceCapableException

public ClassNotPersistenceCapableException(java.lang.String message)
Creates a new ClassNotPersistenceCapableException with the specified message.

Parameters:
message - the detail message

ClassNotPersistenceCapableException

public ClassNotPersistenceCapableException(java.lang.Throwable cause)
Creates a new ClassNotPersistenceCapableException with the specified cause.

Parameters:
cause - The cause of this Exception

ClassNotPersistenceCapableException

public ClassNotPersistenceCapableException(java.lang.String message,
                                           java.lang.Throwable cause)
Creates a new ClassNotPersistenceCapableException with the specified message and the specified cause.

Parameters:
message - the detail message
cause - the root cause


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14