com.objy.db
Class NonPersistentClassException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.objy.db.ObjyRuntimeException
|
+--com.objy.db.NonPersistentClassException
- All Implemented Interfaces:
- Serializable
- public class NonPersistentClassException
- extends ObjyRuntimeException
Signals an attempt to use a class that is not persistence capable
in a context that requires a persistence-capable class.
Note: You should not create or throw an exception of this class;
you obtain an instance of this class by catching unchecked exceptions.
- See Also:
- Serialized Form
NonPersistentClassException
public NonPersistentClassException(String msg,
String className)
- Reserved for internal use; you obtain an exception of this class
only by catching unchecked exceptions.
You should not use this constructor directly.
getClassName
public String getClassName()
- Returns the name of the class in the exception.
This method returns the name of the class that caused this exception to be thrown.
- Returns:
- The name of the class.
Copyright © 2000 Objectivity, Inc. All rights reserved.