Class CustomStepException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.experian.datastudio.sdk.api.step.CustomStepException
- All Implemented Interfaces:
Serializable
Standard exception that will be thrown by custom step
- Since:
- 2.1.0
- See Also:
-
Constructor Summary
ConstructorDescriptionCustomStepException
(int errorCode, String message) Constructs CustomStepException with error code and message.CustomStepException
(int errorCode, String message, Throwable cause) Constructs CustomStepException with error code, message. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the customize error code to be displayed on Job details pageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CustomStepException
Constructs CustomStepException with error code and message.- Parameters:
errorCode
- the customize error code to be displayed on Job details pagemessage
- the message to be logged
-
CustomStepException
Constructs CustomStepException with error code, message.- Parameters:
errorCode
- the customize error code to be displayed on Job details pagemessage
- the message to be loggedcause
- the cause
-
-
Method Details
-
getErrorCode
public int getErrorCode()Returns the customize error code to be displayed on Job details page- Returns:
- the customize error code
-