org.openwms.core.service.exception
Class ServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openwms.core.service.exception.ServiceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DeniedException, RemovalNotAllowedException

public class ServiceException
extends Exception

A ServiceException is a checked application exception thrown in service layer classes.

Since:
0.1
Version:
$Revision: 1538 $
Author:
Heiko Scherrer
See Also:
Serialized Form

Constructor Summary
ServiceException(String message)
          Create a new ServiceException with a message text.
ServiceException(String message, Throwable cause)
          Create a new ServiceException with a message text and the cause exception.
ServiceException(Throwable cause)
          Create a new ServiceException with a cause exception.
 
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(String message)
Create a new ServiceException with a message text.

Parameters:
message - Detail message

ServiceException

public ServiceException(Throwable cause)
Create a new ServiceException with a cause exception.

Parameters:
cause - Root cause

ServiceException

public ServiceException(String message,
                        Throwable cause)
Create a new ServiceException with a message text and the cause exception.

Parameters:
message - Detail message
cause - Root cause


Copyright © 2005-2011 openwms.org. All Rights Reserved.