org.apache.ojb.broker.metadata
Class ClassNotPersistenceCapableException

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

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 365232 2005-12-21 22:36:07Z tomdz $
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.
 
Method Summary
 
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


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30