org.objectweb.jonas.service
Class ServiceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.objectweb.jonas.service.ServiceException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ClientContainerException, DuplicateServerNameException, EarServiceException, JonasAdminException, JonasAlreadyStartedException, JWebContainerServiceException, MailServiceException, ResourceServiceException, WSServiceException

public class ServiceException
extends java.lang.RuntimeException

Exception thrown by JOnAS Services.

See Also:
Serialized Form

Constructor Summary
ServiceException(java.lang.String message)
          Constructor specifying only the cause message.
ServiceException(java.lang.String message, java.lang.Throwable throwable)
          Constructor with message description + cause
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceException

public ServiceException(java.lang.String message)
Constructor specifying only the cause message.

Parameters:
message - Exception description

ServiceException

public ServiceException(java.lang.String message,
                        java.lang.Throwable throwable)
Constructor with message description + cause

Parameters:
message - Exception description
throwable - cause of the Exception
Method Detail

getMessage

public java.lang.String getMessage()
Returns:
Returns the message description of the Exception

toString

public java.lang.String toString()
Returns:
Returns a String representation of the Exception