org.netxms.client
Class NXCException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.netxms.api.client.NetXMSClientException
              extended by org.netxms.client.NXCException
All Implemented Interfaces:
java.io.Serializable

public class NXCException
extends NetXMSClientException

NetXMS client library exception. Used to report API call errors.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.netxms.api.client.NetXMSClientException
additionalInfo, errorCode
 
Constructor Summary
NXCException(int errorCode)
           
NXCException(int errorCode, java.lang.String additionalInfo)
           
 
Method Summary
protected  java.lang.String getErrorMessage(int code, java.lang.String lang)
           
 
Methods inherited from class org.netxms.api.client.NetXMSClientException
getErrorCode, getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

NXCException

public NXCException(int errorCode)
Parameters:
errorCode -

NXCException

public NXCException(int errorCode,
                    java.lang.String additionalInfo)
Parameters:
errorCode -
additionalInfo -
Method Detail

getErrorMessage

protected java.lang.String getErrorMessage(int code,
                                           java.lang.String lang)
Specified by:
getErrorMessage in class NetXMSClientException


Copyright © 2012. All Rights Reserved.