de.uniba.wiai.lspi.chord.service
Class ServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.uniba.wiai.lspi.chord.service.ServiceException
All Implemented Interfaces:
java.io.Serializable

public final class ServiceException
extends java.lang.Exception

Whenever this exception is thrown, an error has occured which cannot be resolved by the service layer.

Version:
1.0.5
Author:
Sven Kaffille, Karsten Loesing
See Also:
Serialized Form

Constructor Summary
ServiceException(java.lang.String message)
          Creates a new service exception with the given description.
ServiceException(java.lang.String message, java.lang.Throwable cause)
          Creates a new service exception with the given description.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceException

public ServiceException(java.lang.String message)
Creates a new service exception with the given description.

Parameters:
message - Description for the user.

ServiceException

public ServiceException(java.lang.String message,
                        java.lang.Throwable cause)
Creates a new service exception with the given description.

Parameters:
message - Description for the user.
cause - Throwable which led to throwing this exception.