net.larsan.norna
Class NoSuchServiceException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--net.larsan.norna.NoSuchServiceException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchServiceException
extends java.lang.Exception

A service could not be found. Invalid id.

Version:
Alpha-0.2 / 2002-10-06 21:37
Author:
Lars J. Nilsson
See Also:
Serialized Form

Constructor Summary
NoSuchServiceException(java.lang.String msg, java.lang.String id)
          Create exception with a message and a the id that could not be found.
 
Method Summary
 java.lang.String getServiceId()
          Get the service id that could not be found.
 
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

NoSuchServiceException

public NoSuchServiceException(java.lang.String msg,
                              java.lang.String id)
Create exception with a message and a the id that could not be found. Nona of the arguments must be null.

Parameters:
msg - Error message, must not be null
id - Service id that could not be located, must not be null
Method Detail

getServiceId

public java.lang.String getServiceId()
Get the service id that could not be found.

Returns:
A service id