com.plumtree.openfoundation.util
Class XPClassNotFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.plumtree.openfoundation.util.XPException
                  extended bycom.plumtree.openfoundation.util.XPClassNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class XPClassNotFoundException
extends XPException

Thrown when an application tries to load in a class through its string name using:

  • The forName method in class Class.
  • The findSystemClass method in class
  • ClassLoader .
  • The loadClass method in class ClassLoader.
  • but no definition for the class with the specified name could be found.

    As of release 1.4, this exception has been retrofitted to conform to the general purpose exception-chaining mechanism. The "optional exception that was raised while loading the class" that may be provided at construction time and accessed via the #getException() method is now known as the cause, and may be accessed via the Throwable.getCause() method, as well as the aforementioned "legacy method."

    See Also:
    Serialized Form

    Constructor Summary
    XPClassNotFoundException()
              Constructs a XPClassNotFoundException with no detail message.
    XPClassNotFoundException(java.lang.String message)
              Constructs a XPClassNotFoundException with the specified detail message.
    XPClassNotFoundException(java.lang.String message, java.lang.Throwable e)
              Constructs an wrapper XPClassNotFoundException with the specified Exception.
    XPClassNotFoundException(java.lang.Throwable e)
              Constructs an wrapper XPClassNotFoundException with the specified Exception.
     
    Methods inherited from class com.plumtree.openfoundation.util.XPException
    exceptionToString, ExceptionToString, GetInnerException, GetInstance, GetInstance, getMessage, GetMessage, GetStackTrace, printStackTrace, PrintStackTrace, printStackTrace, ToString
     
    Methods inherited from class java.lang.Throwable
    fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
     

    Constructor Detail

    XPClassNotFoundException

    public XPClassNotFoundException()
    Constructs a XPClassNotFoundException with no detail message.


    XPClassNotFoundException

    public XPClassNotFoundException(java.lang.String message)
    Constructs a XPClassNotFoundException with the specified detail message.

    Parameters:
    message - the detail message.

    XPClassNotFoundException

    public XPClassNotFoundException(java.lang.Throwable e)
    Constructs an wrapper XPClassNotFoundException with the specified Exception.

    Parameters:
    e - the Exception.

    XPClassNotFoundException

    public XPClassNotFoundException(java.lang.String message,
                                    java.lang.Throwable e)
    Constructs an wrapper XPClassNotFoundException with the specified Exception.

    Parameters:
    message - the detail message.
    e - the Exception.


    Copyright 2002, 2003, 2004 Plumtree Software Inc. All Rights Reserved.