org.ow2.jonas.service
Class ServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ow2.jonas.service.ServiceException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AdmException, AdminException, DuplicateServerNameException, EarServiceException, JonasAlreadyStartedException, JWebContainerServiceException, MailServiceException, ResourceServiceException, WorkCleanerException, WSException
public class ServiceException
- extends RuntimeException
Exception thrown by JOnAS Services.
- See Also:
- Serialized Form
ServiceException
public ServiceException(String message)
- Constructor specifying only the cause message.
- Parameters:
message
- Exception description
ServiceException
public ServiceException(String message,
Throwable throwable)
- Constructor with message description + cause
- Parameters:
message
- Exception descriptionthrowable
- cause of the Exception
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
- Returns:
- Returns the message description of the Exception
toString
public String toString()
- Overrides:
toString
in class Throwable
- Returns:
- Returns a String representation of the Exception
Copyright © 2010 OW2 Consortium. All Rights Reserved.