SMACS

smacs.xngr.browser.service
Class InvalidServiceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bysmacs.xngr.browser.service.InvalidServiceException
All Implemented Interfaces:
Serializable

public class InvalidServiceException
extends Exception

An exception that is thrown to indicates an invalid service.

Author:
Edwin Dankert
See Also:
Serialized Form

Constructor Summary
InvalidServiceException(String message)
          Constructs the exception with a message.
InvalidServiceException(String message, Exception original)
          Constructs the exception with a message and the original exception.
 
Method Summary
 Exception getOriginal()
          Gets the original exception.
 
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

InvalidServiceException

public InvalidServiceException(String message)
Constructs the exception with a message.

Parameters:
message - the message for this exception.

InvalidServiceException

public InvalidServiceException(String message,
                               Exception original)
Constructs the exception with a message and the original exception.

Parameters:
message - the message for this exception.
original - the original exception.
Method Detail

getOriginal

public Exception getOriginal()
Gets the original exception.

Returns:
the original exception.

SMACS