public class PluginException extends Exception
Title: 工作流设计工具(BPD)
Description: 插件异常类
Copyright: Copyright (c) 2004
Company: itjds
| 构造器和说明 |
|---|
PluginException()
Constructs a build exception with no descriptive information.
|
PluginException(String message)
Constructs an exception with the given descriptive message.
|
PluginException(String message,
int errorCode)
Constructs an exception with the given descriptive message and error
code.
|
PluginException(String message,
Throwable cause)
Constructs an exception with the given message and exception as a root
cause.
|
PluginException(String message,
Throwable cause,
int errorCode)
Constructs an exception with the given descriptive message and error
code.
|
PluginException(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
PluginException
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 PluginException()
public PluginException(String message, int errorCode)
message - A description of or information about the exception. Should
not be null.errorCode - Error code defined in Plugin.public PluginException(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 Plugin.public PluginException(String message)
message - A description of or information about the exception. Should
not be null.public PluginException(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 PluginException(Throwable cause)
cause - The exception that might have caused this one. Should not be
null.public int getErrorCode()
PluginException
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.