|
Process Class Relationships | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--filenet.vw.api.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 |
Method Summary | |
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.String |
getStringFromKey(java.lang.String theKey)
Retrieves the string in the exceptions resource file that corresponds to the exception key. |
java.lang.String |
toString()
Retrieves the associated string from the exceptions resource file. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
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
stringString
public 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
stringString
public 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
stringString
public 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 stringString
Method Detail |
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()
String
public static java.lang.String getStringFromKey(java.lang.String theKey)
String
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
String
|
Process Class Relationships | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |