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

public class CustomStepException extends RuntimeException
Standard exception that will be thrown by custom step
Since:
2.1.0
See Also:
  • Constructor Details

    • CustomStepException

      public CustomStepException(int errorCode, String message)
      Constructs CustomStepException with error code and message.
      Parameters:
      errorCode - the customize error code to be displayed on Job details page
      message - the message to be logged
    • CustomStepException

      public CustomStepException(int errorCode, String message, Throwable cause)
      Constructs CustomStepException with error code, message.
      Parameters:
      errorCode - the customize error code to be displayed on Job details page
      message - the message to be logged
      cause - 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