java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.milo.opcua.stack.core.UaException
org.eclipse.milo.opcua.sdk.client.methods.UaMethodException
All Implemented Interfaces:
Serializable, org.eclipse.milo.opcua.stack.core.UaExceptionStatus

public class UaMethodException extends org.eclipse.milo.opcua.stack.core.UaException
Thrown when a method call completes with a non-good StatusCode.

Contains the StatusCode for the overall call and the input argument results and diagnostics.

See Also:
  • Constructor Details

    • UaMethodException

      public UaMethodException(org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode statusCode, org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode[] inputArgumentResults, org.eclipse.milo.opcua.stack.core.types.builtin.DiagnosticInfo[] inputArgumentDiagnostics)
    • UaMethodException

      public UaMethodException(Throwable cause, org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode statusCode, org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode[] inputArgumentResults, org.eclipse.milo.opcua.stack.core.types.builtin.DiagnosticInfo[] inputArgumentDiagnostics)
    • UaMethodException

      public UaMethodException(long statusCode, org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode[] inputArgumentResults, org.eclipse.milo.opcua.stack.core.types.builtin.DiagnosticInfo[] inputArgumentDiagnostics)
  • Method Details

    • getInputArgumentResults

      public org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode[] getInputArgumentResults()
      Returns:
      StatusCodes corresponding to each input argument.
    • getInputArgumentDiagnostics

      public org.eclipse.milo.opcua.stack.core.types.builtin.DiagnosticInfo[] getInputArgumentDiagnostics()
      Returns:
      DiagnosticInfos corresponding to each input argument.