Package com.ptc.windchill.esi.wf
Class PreReleaseValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
wt.util.WTException
com.ptc.windchill.esi.utl.ESIException
com.ptc.windchill.esi.wf.PreReleaseValidationException
- All Implemented Interfaces:
Serializable,LocalizableMessage,Message
This exception is intended to be used in the workflow expression "Pre_Release_Validate" of RTM workflow.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
- See Also:
-
Field Summary
Fields inherited from class wt.util.WTException
GETMESSAGE_LINE_SEPARATOR, LINE_SEPARATOR, SPACE_SEPARATOR, TOSTRING_LINE_SEPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionPreReleaseValidationException(int errorCode, String message) Constructs a PreReleaseValidationException exception with the input message.PreReleaseValidationException(int errorCode, String rb, String key, Object[] params) Constructs a PreReleaseValidationException exception with a localizable standard message constructed from the bundle, key, and params.Constructs a PreReleaseValidationException exception with the input message. -
Method Summary
Methods inherited from class com.ptc.windchill.esi.utl.ESIException
getErrorCode, setErrorCodeMethods inherited from class wt.util.WTException
getAdditionalMessageArray, getAdditionalMessages, getAdditionalMessages, getExceptionIdentifier, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getNestedExceptionString, getNestedExceptionString, getNestedThrowable, getStandardMessage, getStandardMessage, getWTMessage, printStackTrace, printStackTrace, printStackTrace, setLocalizedMessage, toString, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Constructor Details
-
PreReleaseValidationException
Constructs a PreReleaseValidationException exception with a localizable standard message constructed from the bundle, key, and params. The input argument "errorCode" is used in "Pre_Release_Validate" workflow expression to take the appropriate path after its execution. Check the constants which starts with "EC_" inESIConstfor different error codes. e.g., when the "Pre_Release_Validate" workflow expression receives this exception with the error codeESIConst.EC_NO_VALID_PROMOTABLES, the OOTB workflow will get terminated.
Supported API: true- Parameters:
errorCode- - error code to decide the path after the execution of "Pre_Release_Validate" workflow expression.rb- - the resource bundle the key resides inkey- - the key containing the message in the resource bundleparams- - the parameters to substitute in the message
-
PreReleaseValidationException
Constructs a PreReleaseValidationException exception with the input message. The input argument "errorCode" is used in "Pre_Release_Validate" workflow expression to take the appropriate path after its execution. Check the constants which starts with "EC_" inESIConstfor different error codes. e.g., when the "Pre_Release_Validate" workflow expression receives this exception with the error codeESIConst.EC_NO_VALID_PROMOTABLES, the OOTB workflow will get terminated.
Supported API: true- Parameters:
errorCode- - error code to decide the path after the execution of "Pre_Release_Validate" workflow expression.message- - exception message
-
PreReleaseValidationException
Constructs a PreReleaseValidationException exception with the input message. The input argument "errorCode" is used in "Pre_Release_Validate" workflow expression to take the appropriate path after its execution. Check the constants which starts with "EC_" inESIConstfor different error codes. e.g., when the "Pre_Release_Validate" workflow expression receives this exception with the error codeESIConst.EC_NO_VALID_PROMOTABLES, the OOTB workflow will get terminated.
Supported API: true- Parameters:
e- - the ESIException object
-