org.apache.avalon.composition.model
Class ServiceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.avalon.framework.CascadingException
              extended byorg.apache.avalon.composition.model.ModelException
                  extended byorg.apache.avalon.composition.model.ServiceException
All Implemented Interfaces:
CascadingThrowable, Serializable
Direct Known Subclasses:
ServiceDuplicateException, ServiceUnknownException

public class ServiceException
extends ModelException

Exception to indicate that there was a service related error.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/09/24 09:31:21 $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
ServiceException(String message)
          Construct a new ServiceException instance.
ServiceException(String message, Throwable throwable)
          Construct a new ServiceException instance.
 
Methods inherited from class org.apache.avalon.framework.CascadingException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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)
Construct a new ServiceException instance.

Parameters:
message - The detail message for this exception.

ServiceException

public ServiceException(String message,
                        Throwable throwable)
Construct a new ServiceException instance.

Parameters:
message - The detail message for this exception.
throwable - the root cause of the exception


Copyright © Apache Software Foundation. All Rights Reserved.