org.objectweb.jonas.service
Class ServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.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 |
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 |
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 descriptionthrowable
- cause of the Exception
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