|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.plumtree.openfoundation.util.XPException com.plumtree.openfoundation.util.XPClassNotFoundException
public class XPClassNotFoundException
Thrown when an application tries to load in a class through its string name using:
forName
method in class Class
.findSystemClass
method in classClassLoader
.
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."
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. |
Method Summary |
---|
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 |
---|
public XPClassNotFoundException()
XPClassNotFoundException
with no detail message.
public XPClassNotFoundException(java.lang.String message)
XPClassNotFoundException
with the specified
detail message.
message
- the detail message.public XPClassNotFoundException(java.lang.Throwable e)
XPClassNotFoundException
with the
specified Exception.
e
- the Exception.public XPClassNotFoundException(java.lang.String message, java.lang.Throwable e)
XPClassNotFoundException
with the
specified Exception.
message
- the detail message.e
- the Exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |