com.ecebs.rtd.enabler.types
Class RTDEException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ecebs.rtd.enabler.types.RTDEException
- All Implemented Interfaces:
- Serializable
public class RTDEException
- extends Exception
An exception that allows for an Outcome
to
be thrown by an operation.
- Author:
- kyleb
- See Also:
- Serialized Form
RTDEException
public RTDEException(Outcome outcome)
- Parameters:
outcome
-
RTDEException
public RTDEException(Outcome outcome,
String message)
- Parameters:
outcome
- message
-
RTDEException
public RTDEException(Outcome outcome,
Throwable cause)
- Parameters:
outcome
- cause
-
RTDEException
public RTDEException(Outcome outcome,
String message,
Throwable cause)
- Parameters:
outcome
- message
- cause
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in class Throwable
getOutcome
public Outcome getOutcome()
- Get the outcome held by the exception
- Returns:
- held outcome
Copyright © 2013 Ecebs Ltd. All Rights Reserved.