oracle.jdeveloper.externaltools
Class ToolRunException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.jdeveloper.externaltools.ToolRunException
- All Implemented Interfaces:
- java.io.Serializable
- public class ToolRunException
- extends java.lang.Exception
Exception thrown from ExternalTool.run() to indicate that the running of an external tool failed in some way.
- See Also:
- Serialized Form
Constructor Summary |
ToolRunException(java.lang.String message)
Construct a ToolRunException with a simple error message. |
ToolRunException(java.lang.String message, java.lang.Throwable baseThrowable)
Construct a ToolRunException with a simple error message and a base throwable. |
ToolRunException(java.lang.Throwable baseThrowable)
Construct a ToolRunException with a base throwable. |
Method Summary |
java.lang.Throwable |
getBaseThrowable()
Get the base throwable for this exception, if any. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ToolRunException
public ToolRunException(java.lang.String message)
- Construct a ToolRunException with a simple error message.
- Parameters:
message
- a description of what went wrong. This may be displayed to the user, so should be translated where possible.
ToolRunException
public ToolRunException(java.lang.String message,
java.lang.Throwable baseThrowable)
- Construct a ToolRunException with a simple error message and a base throwable.
- Parameters:
message
- a description of what went wrong. This may be displayed to the user, so should be translated where possible.
baseThrowable
- the base Throwable that caused the tool to fail. This information may be provided to the user to provide more information about why running a tool failed.
ToolRunException
public ToolRunException(java.lang.Throwable baseThrowable)
- Construct a ToolRunException with a base throwable.
- Parameters:
baseThrowable
- the base Throwable that caused the tool to fail. This information may be provided to the user to provide more information about why running a tool failed.
getBaseThrowable
public java.lang.Throwable getBaseThrowable()
- Get the base throwable for this exception, if any.
-
- Returns:
- the base throwable for this exception, or null if none was provided.
Copyright © 1997, 2004, Oracle. All rights reserved.