Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.ide.externaltools
Class ToolRunException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.ide.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

 

Constructor Detail

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.

Method Detail

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.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.