Class EdsTaskException

  • All Implemented Interfaces:
    java.io.Serializable

    public class EdsTaskException
    extends java.lang.Exception
    EDS SDK exception for Task Wrapper. Allows access to EDS error code in Task wrapper where all non-success outcomes result in exception. Error code will be same as provided in IEdgeDiscoveryCallback.onError(int, String, Throwable)
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      EdsTaskException​(int errCode, java.lang.String msg, java.lang.Throwable ex)
      Constructor - not intended for use by calling application.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getEdsErrorCode()
      EDS Error code
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

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

      • EdsTaskException

        public EdsTaskException​(int errCode,
                                java.lang.String msg,
                                java.lang.Throwable ex)
        Constructor - not intended for use by calling application.
        Parameters:
        errCode - EDS Error Code
        msg - EDS Error message
        ex - cause
    • Method Detail

      • getEdsErrorCode

        public int getEdsErrorCode()
        EDS Error code
        Returns:
        EDS error code