org.ops4j.peaberry
Class ServiceException

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

public class ServiceException
extends RuntimeException

General purpose service exception.

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

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

ServiceException

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


ServiceException

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

Parameters:
message - detailed message

ServiceException

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

Parameters:
cause - underlying cause

ServiceException

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

Parameters:
message - detailed message
cause - underlying cause


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