org.openvpms.esci.service.exception
Class ServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openvpms.esci.service.exception.ServiceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DocumentNotFoundException, DuplicateOrderException

public class ServiceException
extends Exception

Base class for ESCI service exceptions.

Version:
$LastChangedDate: 2006-05-02 05:16:31Z $
Author:
OpenVPMS Team
See Also:
Serialized Form

Constructor Summary
ServiceException()
          Default constructor.
ServiceException(String message)
          Constructs a service exception with the specified detail message.
ServiceException(String message, Throwable cause)
          Constructs a service exception with the specified detail message and 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()
Default constructor.


ServiceException

public ServiceException(String message)
Constructs a service exception with the specified detail message.

Parameters:
message - the detail message

ServiceException

public ServiceException(String message,
                        Throwable cause)
Constructs a service exception with the specified detail message and cause.

Parameters:
message - the detail message
cause - the cause. May be null


Copyright © 2010-2011 OpenVPMS. All Rights Reserved..