org.openwms.core.service.exception
Class ServiceRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.openwms.core.service.exception.ServiceRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TransportOrderServiceException, UserNotFoundException

public class ServiceRuntimeException
extends RuntimeException
implements Serializable

A ServiceRuntimeException is an unchecked application exception thrown in service layer classes.

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

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

ServiceRuntimeException

public ServiceRuntimeException(String message)
Create a new ServiceRuntimeException with a message text.

Parameters:
message - Detail message

ServiceRuntimeException

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

Parameters:
cause - Root cause

ServiceRuntimeException

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

Parameters:
message - Detail message
cause - Root cause


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