Class NXCPException

All Implemented Interfaces:
Serializable

public class NXCPException extends Exception
NXCP exception. Used to indicate protocol level errors.
See Also:
  • Field Details

  • Constructor Details

    • NXCPException

      public NXCPException(int errorCode)
      Create new exception with given error code.
      Parameters:
      errorCode - NetXMS API error code (RCC)
    • NXCPException

      public NXCPException(int errorCode, Throwable cause)
      Create new exception with given error code and root cause.
      Parameters:
      errorCode - NetXMS API error code (RCC)
      cause - root cause
  • Method Details