public class ValidationException extends WorkflowException
ValidationException is used to indicate that a
WorkflowModel is not valid.| Constructor and Description |
|---|
ValidationException(java.lang.String message)
Constructs a new
WorkflowException with the specified detail
message. |
ValidationException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new
WorkflowException with the specified detail
message and cause. |
ValidationException(java.lang.String message,
WorkflowNode node)
Constructs a new
WorkflowException with the specified detail
message. |
ValidationException(java.lang.Throwable cause)
Constructs a new
WorkflowException with the specified cause
and a detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause
). |
| Modifier and Type | Method and Description |
|---|---|
WorkflowNode |
getNode()
Returns the
WorkflowNode that is not valid or null if node could
not be determined. |
public ValidationException(java.lang.String message)
WorkflowException with the specified detail
message. The cause is not initialized, and may subsequently be
initialized by a call to Throwable.initCause(java.lang.Throwable).message - The detail message. The detail message is saved for later
retrieval by the Throwable.getMessage() method.public ValidationException(java.lang.String message,
WorkflowNode node)
WorkflowException with the specified detail
message. The cause is not initialized, and may subsequently be
initialized by a call to Throwable.initCause(java.lang.Throwable).message - The detail message. The detail message is saved for later
retrieval by the Throwable.getMessage() method.node - The workflow nodepublic ValidationException(java.lang.Throwable cause)
WorkflowException with the specified cause
and a detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause
). This constructor is useful for WorkflowException that are
wrappers for other Throwables.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 ValidationException(java.lang.String message,
java.lang.Throwable cause)
WorkflowException with the specified detail
message and cause.message - The detail message (which is saved for later retrieval by the
Throwable.getMessage() method).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 WorkflowNode getNode()
WorkflowNode that is not valid or null if node could
not be determined.WorkflowNode that is not valid.Copyright © 2010 - 2023 Adobe. All Rights Reserved