|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.deployapi.DeploymentStatusImpl
org.glassfish.deployapi.DeploymentStatusImplWithError
public class DeploymentStatusImplWithError
Simple implementation of DeploymentStatus intended to describe an exception that occurred during a DeploymentManager method invocation.
| Constructor Summary | |
|---|---|
DeploymentStatusImplWithError()
Creates a new instance of DeploymentStatusImplWithError |
|
DeploymentStatusImplWithError(CommandType commandType,
Throwable cause)
Creates a new instance of DeploymentStatusImplWithError |
|
| Method Summary | |
|---|---|
Throwable |
getCause()
Returns the cause for this status. |
void |
initCause(Throwable cause)
Assigns the cause for this status. |
String |
toString()
Displays the status as a string, including stack trace information if error is present. |
| Methods inherited from class org.glassfish.deployapi.DeploymentStatusImpl |
|---|
getAction, getCommand, getMessage, getState, isCompleted, isFailed, isRunning, setCommand, setMessage, setState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DeploymentStatusImplWithError()
public DeploymentStatusImplWithError(CommandType commandType,
Throwable cause)
| Method Detail |
|---|
public void initCause(Throwable cause)
Throwable - that describes the error to be reportedpublic Throwable getCause()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||