Class OrchestrationServerError


  • public class OrchestrationServerError
    extends java.lang.Object
    The OrchestrationServerError class is the base class used for asynchronous error management in the Orchestration SDK.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCustomPayload()
      return custom payload set by the server integrator which can contain any extra information on the error
      java.lang.String getReadableMessage()
      return readable message describing the error
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OrchestrationServerError

        public OrchestrationServerError​(java.lang.String readableMessage)
        Constructor
        Parameters:
        readableMessage - human readable message describing the error
      • OrchestrationServerError

        public OrchestrationServerError​(java.lang.String readableMessage,
                                        java.lang.String customPayload)
        Constructor
        Parameters:
        readableMessage - human readable message describing the error
        customPayload - customPayload set by the server integrator which can contain any extra information on the error
    • Method Detail

      • getReadableMessage

        public java.lang.String getReadableMessage()
        return readable message describing the error
        Returns:
        exception
      • getCustomPayload

        public java.lang.String getCustomPayload()
        return custom payload set by the server integrator which can contain any extra information on the error
        Returns:
        customPayload