|
Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
filenet.vw.api.VWException
public class VWException
This is the base class for all workflow exceptions. Use this class to access the resource strings an application uses to create the exceptions.
Constructor Summary | |
---|---|
VWException(java.lang.String aKey,
java.lang.String dummy)
Constructor |
|
VWException(java.lang.String aKey,
java.lang.String dummy,
java.lang.Object arg0)
Constructor |
|
VWException(java.lang.String aKey,
java.lang.String dummy,
java.lang.Object[] arguments)
Constructor |
|
VWException(java.lang.String aKey,
java.lang.String dummy,
java.lang.Object arg0,
java.lang.Object arg1)
Constructor |
|
VWException(java.lang.String aKey,
java.lang.String dummy,
java.lang.Object arg0,
java.lang.Object arg1,
java.lang.Object arg2)
Constructor |
|
VWException(java.lang.Throwable cause)
Constructor |
Method Summary | |
---|---|
static java.lang.String |
_get_FILE_AUTHOR()
For FileNet internal use only, do not call. |
static java.lang.String |
_get_FILE_DATE()
For FileNet internal use only, do not call. |
static java.lang.String |
_get_FILE_REVISION()
For FileNet internal use only, do not call. |
static java.lang.String |
DescribeThrowableAndItsCause(java.lang.Throwable t)
|
static java.lang.String |
DescribeThrowableAndItsCauseWithStackFrames(java.lang.Throwable t,
int maxFrames)
|
static java.lang.String |
DescribeThrowableCompletely(java.lang.Throwable t)
|
java.lang.String |
getCauseClassName()
Returns the class name for the cause of this VWException. |
java.lang.String |
getCauseDescription()
Returns the description for the cause of this VWException. |
java.lang.String |
getKey()
Retrieves the key to an exception. |
java.lang.String |
getLocalizedMessage()
Retrieves the localized version of an exception message. |
java.lang.String |
getMessage()
Retrieves the associated string from the exceptions resource file. |
static java.lang.Throwable |
getRealCause(java.lang.Throwable t)
Retrieves the error number associated with the exception message. |
java.lang.Throwable |
getRootCause()
Returns the root cause of this VWException or null if
the cause is nonexistent or unknown. |
static java.lang.String |
getStringFromKey(java.lang.String theKey)
Retrieves the string in the exceptions resource file that corresponds to the exception key. |
void |
setCause(java.lang.Throwable cause)
Initializes the cause of this VWException to the specified value. |
java.lang.String |
toString()
Retrieves the associated string from the exceptions resource file. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VWException(java.lang.Throwable cause)
causeException
- The cause exception that is being wrapped
by this VWException.public VWException(java.lang.String aKey, java.lang.String dummy)
aKey
- Key to use in looking up a resource in the
VWExceptions file; an identifier of the form
"vw.<package>.<id>"
(e.g., vw.server.exception1)dummy
- English version of resource string the application
uses to generate the VWExceptions filepublic VWException(java.lang.String aKey, java.lang.String dummy, java.lang.Object arg0)
aKey
- Key to use in looking up the specified resource
stringdummy
- English version of the resource string the
application uses to generate the VWExceptions filearg0
- First argument to apply when formatting the resource
stringpublic VWException(java.lang.String aKey, java.lang.String dummy, java.lang.Object arg0, java.lang.Object arg1)
aKey
- Key to use in looking up the specified resource
stringdummy
- English version of resource string the application
uses to generate the VWExceptions filearg0
- First argument to apply when formatting the resource
stringarg1
- Second argument to apply when formatting the resource
stringpublic VWException(java.lang.String aKey, java.lang.String dummy, java.lang.Object arg0, java.lang.Object arg1, java.lang.Object arg2)
aKey
- Key to use in looking up the specified resource
stringdummy
- English version of the resource string the
application uses to generate the VWExceptions filearg0
- First argument to apply when formatting the resource
stringarg1
- Second argument to apply when formatting the resource
stringarg2
- Third argument to apply when formatting the resource
stringpublic VWException(java.lang.String aKey, java.lang.String dummy, java.lang.Object[] arguments)
aKey
- Key to use in looking up the specified resource
stringdummy
- English version of the resource string the
application uses to generate the VWExceptions fileargs
- Variable number of arguments to use in generating a
string from a resource template stringMethod Detail |
---|
public static java.lang.String _get_FILE_DATE()
public static java.lang.String _get_FILE_AUTHOR()
public static java.lang.String _get_FILE_REVISION()
public void setCause(java.lang.Throwable cause)
cause
- The cause (which is saved for later retrieval by the
Throwable.getCause()
method). A null value is
permitted, and indicates that the cause is nonexistent or
unknown.public java.lang.Throwable getRootCause()
null
if
the cause is nonexistent or unknown. (The root cause is the
last exception in the exception chain.)
null
if the
cause is nonexistent or unknown.public java.lang.String getCauseClassName()
null
if the cause is nonexistent or unknown.public java.lang.String getCauseDescription()
null
if the cause is nonexistent or unknown.public java.lang.String toString()
toString
in class java.lang.Throwable
getStringFromKey( String )
,
getKey()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
getStringFromKey( String )
public java.lang.String getKey()
public static java.lang.String getStringFromKey(java.lang.String theKey)
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public static java.lang.Throwable getRealCause(java.lang.Throwable t)
public static java.lang.String DescribeThrowableAndItsCause(java.lang.Throwable t)
public static java.lang.String DescribeThrowableCompletely(java.lang.Throwable t)
public static java.lang.String DescribeThrowableAndItsCauseWithStackFrames(java.lang.Throwable t, int maxFrames)
|
Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |