org.netxms.base
Class NXCPException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.netxms.base.NXCPException
All Implemented Interfaces:
java.io.Serializable

public class NXCPException
extends java.lang.Exception

NXCP exception. Used to indicate protocol level errors.

See Also:
Serialized Form

Constructor Summary
NXCPException(int errorCode)
           
 
Method Summary
 int getErrorCode()
           
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NXCPException

public NXCPException(int errorCode)
Parameters:
errorCode -
Method Detail

getErrorCode

public int getErrorCode()
Returns:
the errorCode

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable


Copyright © 2012. All Rights Reserved.