public class JDSException extends ExecutionException
| 构造器和说明 |
|---|
JDSException()
Constructs a build exception with no descriptive information.
|
JDSException(String message)
Constructs an exception with the given descriptive message.
|
JDSException(String message,
int errorCode)
Constructs an exception with the given descriptive message and error
code.
|
JDSException(String message,
Throwable cause)
Constructs an exception with the given message and exception as a root
cause.
|
JDSException(String message,
Throwable cause,
int errorCode)
Constructs an exception with the given descriptive message and error
code.
|
JDSException(Throwable cause)
Constructs an exception with the given exception as a root cause.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Throwable |
getCause()
Returns the nested exception, if any.
|
int |
getErrorCode()
Retrieves the BPM exception code for this
BPMException
object. |
Throwable |
getException()
Returns the nested exception, if any.
|
void |
printStackTrace()
Prints the stack trace for this exception and any nested exception to
System.err. |
void |
printStackTrace(PrintStream ps)
Prints the stack trace of this exception and any nested exception to the
specified PrintStream.
|
void |
printStackTrace(PrintWriter pw)
Prints the stack trace of this exception and any nested exception to the
specified PrintWriter.
|
String |
toString()
Returns the location of the error and the error message.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTracepublic static final int SERVERNOTSTARTEDERROR
public static final int SERVERSTARTERROR
public static final int SERVERSTOPERROR
public static final int SERVERRESTARTERROR
public static final int SERVERSTATUSCOMMANDERROR
public static final int SERVERSTARTCOMMANDERROR
public static final int SERVERSTOPCOMMANDERROR
public static final int SERVERRESTARTCOMMANDERROR
public static final int LOADWORKFLOWSERVERERROR
public static final int LOADRIGHTENGINEERROR
public static final int LOADAPPLICATIONCONFIGERROR
public static final int LOADAPPLICATIONCONFIGMAPPINGERROR
public static final int LOADADMINSERVICEERROR
public static final int LOADFILEENGINEERROR
public static final int LOADVFSSERVICEERROR
public static final int UNSUPPORTSERVEREVENTERROR
public static final int UNSUPPORTCOREPROCESSEVENTERROR
public static final int UNSUPPORTCOREACTIVITYEVENTERROR
public static final int UNSUPPORTPROCESSEVENTERROR
public static final int UNSUPPORTACTIVITYEVENTERROR
public static final int DISPATCHCOREPROCESSEVENTERROR
public static final int DISPATCHCOREACTIVITYEVENTERROR
public static final int APPLICATIONNOTFOUNDERROR
public static final int NOTLOGINEDERROR
public static final int ALREADYLOGINEDERROR
public static final int PROCESSDEFINITIONERROR
public static final int ACTIVITYDEFINITIONERROR
public static final int ROUTEDEFINITIONERROR
public static final int GETPROCESSDEFLISTERROR
public static final int GETPROCESSINSTLISTERROR
public static final int GETACTIVITYINSTLISTERROR
public static final int CREATEPROCESSINSTANCEERROR
public static final int STARTPROCESSINSTANCEERROR
public static final int NEWPROCESSINSTANCEERROR
public static final int TRANSACTIONBEGINERROR
public static final int TRANSACTIONCOMMITERROR
public static final int TRANSACTIONROLLBACKERROR
public static final int FORMNOTFONUD
public static final int ESBERROR
public static final int HTTPERROR
public JDSException()
public JDSException(String message, int errorCode)
message - A description of or information about the exception. Should
not be null.errorCode - Error code defined in BPM.public JDSException(String message, Throwable cause, int errorCode)
message - A description of or information about the exception. Should
not be null.cause - The exception that might have caused this one. May be
null.errorCode - Error code defined in BPM.public JDSException(String message)
message - A description of or information about the exception. Should
not be null.public JDSException(String message, Throwable cause)
message - A description of or information about the exception. Should
not be null unless a cause is specified.cause - The exception that might have caused this one. May be
null.public JDSException(Throwable cause)
cause - The exception that might have caused this one. Should not be
null.public int getErrorCode()
BPMException
object.public Throwable getCause()
public Throwable getException()
null if no exception is
associated with this onepublic String toString()
public void printStackTrace()
System.err.printStackTrace 在类中 Throwablepublic void printStackTrace(PrintStream ps)
printStackTrace 在类中 Throwableps - The PrintStream to print the stack trace to. Must not be
null.public void printStackTrace(PrintWriter pw)
printStackTrace 在类中 Throwablepw - The PrintWriter to print the stack trace to. Must not be
null.Copyright © 2023 onecode. All rights reserved.