Openwings API Documentation (v1.1)

net.openwings.container
Class ProcessCreationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynet.openwings.container.ProcessCreationException
All Implemented Interfaces:
java.io.Serializable

public class ProcessCreationException
extends java.lang.Exception

This class is an exception which indicates a problem with the creation of a process in a Container or ContainerManager.

See Also:
Serialized Form

Field Summary
protected  java.lang.Exception exception
           
 
Constructor Summary
ProcessCreationException(java.lang.String message)
          Simple Constructor
ProcessCreationException(java.lang.String message, java.lang.Exception exception)
          This constructor wraps some underlying exception.
 
Method Summary
 java.lang.Exception getException()
          this method returns the original exception thrown, or null.
 
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
 

Field Detail

exception

protected java.lang.Exception exception
Constructor Detail

ProcessCreationException

public ProcessCreationException(java.lang.String message,
                                java.lang.Exception exception)
This constructor wraps some underlying exception.

Parameters:
message - the error message associated with this exception
exception - that was thrown previously that is associated with this call.

ProcessCreationException

public ProcessCreationException(java.lang.String message)
Simple Constructor

Parameters:
message - the error message associated with this exception
Method Detail

getException

public java.lang.Exception getException()
this method returns the original exception thrown, or null.

Returns:
the original exception thrown

Openwings API Documentation (v1.1)