Uses of Interface
org.opendaylight.yangtools.yang.common.RpcError
Packages that use RpcError
Package
Description
Common YANG concepts and constants expressed in terms of Java.
-
Uses of RpcError in org.opendaylight.yangtools.yang.common
Methods in org.opendaylight.yangtools.yang.common that return RpcErrorModifier and TypeMethodDescriptionstatic @NonNull RpcError
Creates an RpcError with severity ERROR for reuse.static @NonNull RpcError
RpcResultBuilder.newError
(ErrorType errorType, ErrorTag tag, String message, String applicationTag, String info, Throwable cause) Creates an RpcError with severity ERROR for reuse.static @NonNull RpcError
RpcResultBuilder.newWarning
(ErrorType errorType, ErrorTag tag, String message) Creates an RpcError with severity WARNING for reuse.static @NonNull RpcError
RpcResultBuilder.newWarning
(ErrorType errorType, ErrorTag tag, String message, String applicationTag, String info, Throwable cause) Creates an RpcError with severity WARNING for reuse.Methods in org.opendaylight.yangtools.yang.common that return types with arguments of type RpcErrorModifier and TypeMethodDescriptionOperationFailedException.getErrorList()
Returns additional error information about this exception.RpcResult.getErrors()
Returns a set of errors and warnings which occurred during processing the call.Methods in org.opendaylight.yangtools.yang.common with parameters of type RpcErrorModifier and TypeMethodDescription@NonNull RpcResultBuilder<T>
RpcResultBuilder.withRpcError
(RpcError error) Adds an RpcError.Method parameters in org.opendaylight.yangtools.yang.common with type arguments of type RpcErrorModifier and TypeMethodDescriptionRpcResultBuilder.withRpcErrors
(Collection<? extends RpcError> rpcErrors) Adds RpcErrors.Constructors in org.opendaylight.yangtools.yang.common with parameters of type RpcErrorModifierConstructorDescriptionOperationFailedException
(String message, Throwable cause, RpcError... errors) Constructs a new instance with the specified detail message, cause and errors.OperationFailedException
(String message, RpcError error) Constructs a new instance with the specified detail message and error.OperationFailedException
(String message, RpcError... errors) Constructs a new instance with the specified detail message and errors.Constructor parameters in org.opendaylight.yangtools.yang.common with type arguments of type RpcErrorModifierConstructorDescriptionOperationFailedException
(String message, Throwable cause, Collection<RpcError> errors) Constructs a new instance with the specified detail message, cause and errors.OperationFailedException
(String message, Collection<? extends RpcError> errors) Constructs a new instance with the specified detail message and errors.