Class UaMethodException
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 Summary
ConstructorsConstructorDescriptionUaMethodException(long statusCode, org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode[] inputArgumentResults, org.eclipse.milo.opcua.stack.core.types.builtin.DiagnosticInfo[] inputArgumentDiagnostics) 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(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) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.milo.opcua.stack.core.types.builtin.DiagnosticInfo[]org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode[]Methods inherited from class org.eclipse.milo.opcua.stack.core.UaException
extract, extractStatusCode, getMessage, getStatusCode, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
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.
-