org.granite.messaging.service
Class ServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.granite.messaging.service.ServiceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SecurityServiceException

public class ServiceException
extends RuntimeException

Author:
Franck WOLFF
See Also:
Serialized Form

Constructor Summary
ServiceException(String message)
           
ServiceException(String message, String detail)
           
ServiceException(String code, String message, String detail)
           
ServiceException(String code, String message, String detail, Throwable cause)
           
ServiceException(String message, String detail, Throwable cause)
           
ServiceException(String message, Throwable cause)
           
 
Method Summary
 String getCode()
           
 String getDetail()
           
 Map<String,Object> getExtendedData()
           
 
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
 

Constructor Detail

ServiceException

public ServiceException(String message)

ServiceException

public ServiceException(String message,
                        Throwable cause)

ServiceException

public ServiceException(String message,
                        String detail)

ServiceException

public ServiceException(String code,
                        String message,
                        String detail)

ServiceException

public ServiceException(String message,
                        String detail,
                        Throwable cause)

ServiceException

public ServiceException(String code,
                        String message,
                        String detail,
                        Throwable cause)
Method Detail

getCode

public String getCode()

getDetail

public String getDetail()

getExtendedData

public Map<String,Object> getExtendedData()