Objectivity for Java Reference

com.objy.db
Class JavaClassNotFoundException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.objy.db.ObjyRuntimeException
                          |
                          +--com.objy.db.JavaClassNotFoundException
All Implemented Interfaces:
Serializable

public class JavaClassNotFoundException
extends ObjyRuntimeException

Signals an attempt to get a class whose name is not found.

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

Constructor Summary
JavaClassNotFoundException(String msg, String className)
          Reserved for internal use; you obtain an exception of this class only by catching unchecked exceptions.
 
Method Summary
 String getClassName()
          Gets the name of the class that caused this exception to be thrown.
 
Methods inherited from class com.objy.db.ObjyRuntimeException
errors, reportErrors, setErrors
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaClassNotFoundException

public JavaClassNotFoundException(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.

Method Detail

getClassName

public String getClassName()
Gets the name of the class that caused this exception to be thrown.

An exception of this class can be thrown when a scan operation finds objects of some class for which the executing Java application has no corresponding class definition.

Returns:
The name of the class that was not found.

Objectivity for Java Reference

Copyright © 2000 Objectivity, Inc. All rights reserved.