com.prosysopc.ua
Class MethodCallStatusException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.prosysopc.ua.UaException
              extended by com.prosysopc.ua.StatusException
                  extended by com.prosysopc.ua.MethodCallStatusException
All Implemented Interfaces:
Serializable

public class MethodCallStatusException
extends StatusException

Exception from a Method Call failure . Read the StatusCode for the error code. If it is Bad_InvalidArgument, check the InputAgrumentResults and InputArgumentDiagnostics for more information on which arguments where invalid.

See Also:
Serialized Form

Constructor Summary
MethodCallStatusException(org.opcfoundation.ua.builtintypes.StatusCode statusCode, org.opcfoundation.ua.builtintypes.DiagnosticInfo diagnosticInfo, org.opcfoundation.ua.builtintypes.StatusCode[] inputArgumentResults, org.opcfoundation.ua.builtintypes.DiagnosticInfo[] inputArgumentDiagnosticInfos)
           
MethodCallStatusException(org.opcfoundation.ua.builtintypes.StatusCode statusCode, org.opcfoundation.ua.builtintypes.StatusCode[] inputArgumentResults, org.opcfoundation.ua.builtintypes.DiagnosticInfo[] inputArgumentDiagnosticInfos)
           
 
Method Summary
 org.opcfoundation.ua.builtintypes.DiagnosticInfo[] getInputArgumentDiagnosticInfos()
           
 org.opcfoundation.ua.builtintypes.StatusCode[] getInputArgumentResults()
           
 String toString()
           
 
Methods inherited from class com.prosysopc.ua.StatusException
getDiagnosticInfo, getStatusCode, toDiagnosticInfo
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodCallStatusException

public MethodCallStatusException(org.opcfoundation.ua.builtintypes.StatusCode statusCode,
                                 org.opcfoundation.ua.builtintypes.DiagnosticInfo diagnosticInfo,
                                 org.opcfoundation.ua.builtintypes.StatusCode[] inputArgumentResults,
                                 org.opcfoundation.ua.builtintypes.DiagnosticInfo[] inputArgumentDiagnosticInfos)
Parameters:
statusCode -
diagnosticInfo -
inputArgumentResults -
inputArgumentDiagnosticInfos -

MethodCallStatusException

public MethodCallStatusException(org.opcfoundation.ua.builtintypes.StatusCode statusCode,
                                 org.opcfoundation.ua.builtintypes.StatusCode[] inputArgumentResults,
                                 org.opcfoundation.ua.builtintypes.DiagnosticInfo[] inputArgumentDiagnosticInfos)
Parameters:
statusCode -
inputArgumentResults -
inputArgumentDiagnosticInfos -
Method Detail

getInputArgumentDiagnosticInfos

public org.opcfoundation.ua.builtintypes.DiagnosticInfo[] getInputArgumentDiagnosticInfos()

getInputArgumentResults

public org.opcfoundation.ua.builtintypes.StatusCode[] getInputArgumentResults()

toString

public String toString()
Overrides:
toString in class StatusException


Copyright © 2018. All rights reserved.