org.eclipse.stardust.common.error
Class ServiceCommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.stardust.common.error.ApplicationException
                  extended by org.eclipse.stardust.common.error.PublicException
                      extended by org.eclipse.stardust.common.error.ServiceCommandException
All Implemented Interfaces:
Serializable

public class ServiceCommandException
extends PublicException

Thrown if the execution of a service command failed.

Version:
$Revision: $
Author:
Florin.Herinean
See Also:
Serialized Form

Constructor Summary
ServiceCommandException(ErrorCase errorCase, Throwable cause)
          Constructs a new ServiceCommandException with an error case and a cause.
ServiceCommandException(String error, Throwable cause)
          Constructs a new ServiceCommandException with a message and a cause.
 
Method Summary
 
Methods inherited from class org.eclipse.stardust.common.error.ApplicationException
getError, getInner, getLocalizedMessage, isLogged, setLogged, setResourceBundle
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceCommandException

public ServiceCommandException(String error,
                               Throwable cause)
Constructs a new ServiceCommandException with a message and a cause.

Parameters:
error - the exception message.
cause - the cause of the exception.

ServiceCommandException

public ServiceCommandException(ErrorCase errorCase,
                               Throwable cause)
Constructs a new ServiceCommandException with an error case and a cause.

Parameters:
errorCase - the error case describing the exception.
cause - the cause of the exception.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.