org.ops4j.peaberry
Class ServiceUnavailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.ops4j.peaberry.ServiceException
                  extended by org.ops4j.peaberry.ServiceUnavailableException
All Implemented Interfaces:
Serializable

public final class ServiceUnavailableException
extends ServiceException

Exception thrown when a requested service is not available.

Author:
mcculls@gmail.com (Stuart McCulloch)
See Also:
Serialized Form

Constructor Summary
ServiceUnavailableException()
          Constructs a ServiceUnavailableException with no message or cause.
ServiceUnavailableException(String message)
          Constructs a ServiceUnavailableException with a specific message.
ServiceUnavailableException(String message, Throwable cause)
          Constructs a ServiceUnavailableException with message and cause.
ServiceUnavailableException(Throwable cause)
          Constructs a ServiceUnavailableException with a specific cause.
 
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

ServiceUnavailableException

public ServiceUnavailableException()
Constructs a ServiceUnavailableException with no message or cause.


ServiceUnavailableException

public ServiceUnavailableException(String message)
Constructs a ServiceUnavailableException with a specific message.

Parameters:
message - detailed message

ServiceUnavailableException

public ServiceUnavailableException(Throwable cause)
Constructs a ServiceUnavailableException with a specific cause.

Parameters:
cause - underlying cause

ServiceUnavailableException

public ServiceUnavailableException(String message,
                                   Throwable cause)
Constructs a ServiceUnavailableException with message and cause.

Parameters:
message - detailed message
cause - underlying cause


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.