org.spicefactory.cinnamon.service
Class ServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.spicefactory.cinnamon.service.ServiceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ServiceInterceptorException, ServiceInvocationException

public class ServiceException
extends RuntimeException

Exception thrown when an illegal request is processed (i.e. unknown operation name, illegal parameter types) or if the service method threw an Exception.

Author:
Jens Halm
See Also:
Serialized Form

Constructor Summary
ServiceException(String message)
          Creates a new ServiceException.
ServiceException(String message, Throwable cause)
          Creates a new ServiceException.
 
Method Summary
 
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,
                        Throwable cause)
Creates a new ServiceException.

Parameters:
message - the error message
cause - the cause of the error

ServiceException

public ServiceException(String message)
Creates a new ServiceException.

Parameters:
message - the error message