|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException oracle.jdeveloper.deploy.DeployException
public class DeployException
This class and its subclasses represent an exception that occurs when
the process of deploying (either preparation of deployment or deployment
itself) is unable to complete. The message passed through
DeployException
should be displayed to the user explaining
why deployment was unable to proceed.
This class anticipates the introduction of "chained exceptions", which are scheduled to appear starting in JDK 1.4 in the Throwable class. If a chained exception is associated with this exception, the chained stack trace will be printed after this exception's stack trace.
Constructor Summary | |
---|---|
DeployException()
Constructs a DeployException with no specific detail
message. |
|
DeployException(java.lang.String s)
Constructs a DeployException with the specified detail
message. |
|
DeployException(java.lang.String s,
java.lang.Object source)
Constructs a DeployException with the specified detail
message. |
|
DeployException(java.lang.String s,
java.lang.Throwable cause)
Constructs a DeployException with the specified detail
message and chains this exception to the given Throwable . |
|
DeployException(java.lang.String s,
java.lang.Throwable cause,
java.lang.Object source)
Constructs a DeployException with the specified detail
message and chains this exception to the given Throwable . |
|
DeployException(java.lang.Throwable cause)
Constructs a DeployException with no specified detail
message and chains this exception to the given Throwable . |
Method Summary | |
---|---|
java.lang.Object |
getSource()
Get the source of the Exception, this may not be where the exception originated, but is rather the call-out point from the framework. |
void |
printCause(java.io.PrintWriter printWriter)
|
void |
printCauseStackTrace(java.io.PrintWriter printWriter)
Prints the stack trace of the exception that caused this exception. |
void |
setSource(java.lang.Object source)
Set the source of the Exception, attempt to overwrite existing value is ignored silently. |
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 |
---|
public DeployException()
DeployException
with no specific detail
message.
public DeployException(java.lang.Throwable cause)
DeployException
with no specified detail
message and chains this exception to the given Throwable
.
The Throwable
's stack trace is printed out after this
exception's stack trace when any one of the
printStackTrace()
methods is called.
public DeployException(java.lang.String s)
DeployException
with the specified detail
message. This message should be considered translatable.
s
- the detail message.public DeployException(java.lang.String s, java.lang.Object source)
DeployException
with the specified detail
message. This message should be considered translatable.
Also allows the source of the error to be attached to the exception.
s
- the detail message.source
- the source object where the error was detected.public DeployException(java.lang.String s, java.lang.Throwable cause)
DeployException
with the specified detail
message and chains this exception to the given Throwable
.
The Throwable
's stack trace is printed out after this
exception's stack trace when any one of the
printStackTrace()
methods is called.
public DeployException(java.lang.String s, java.lang.Throwable cause, java.lang.Object source)
DeployException
with the specified detail
message and chains this exception to the given Throwable
.
Also allows the exception source Object
to be passed
through to the error handling system.
The Throwable
's stack trace is printed out after this
exception's stack trace when any one of the
printStackTrace()
methods is called.
Method Detail |
---|
public void printCauseStackTrace(java.io.PrintWriter printWriter)
public void printCause(java.io.PrintWriter printWriter)
public java.lang.Object getSource()
public void setSource(java.lang.Object source)
source
-
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |