Class NCError

  • All Implemented Interfaces:
    java.io.Serializable

    
    public final class NCError
    extends Exception
                        

    Nexconn SDK unified error class.

    All SDK callback errors are delivered through this class, containing an error code and an optional error description message.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static Integer METHOD_BUSY
      private final Integer code
      private final String message
      private final Throwable cause
    • Constructor Summary

      Constructors 
      Constructor Description
      NCError(Integer code, String message)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getCode()
      String getMessage()
      String toString()
      • Methods inherited from class kotlin.Throwable

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

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

      • NCError

        NCError(Integer code, String message)
        Parameters:
        code - Error code
        message - Optional error description message