Class ScpiGenericException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sap.hybris.scpiconnector.exception.ScpiGenericException
All Implemented Interfaces:
Serializable

public class ScpiGenericException extends Exception
See Also:
  • Constructor Details

    • ScpiGenericException

      public ScpiGenericException(String code, String reason)
      Constructor with errorCode and errorDescription
    • ScpiGenericException

      public ScpiGenericException()
      No argument constructor
  • Method Details

    • getCode

      public String getCode()
      Returns:
      the code
    • getReason

      public String getReason()
      Returns:
      the reason
    • toString

      public String toString()
      Overrides:
      toString in class Throwable