Uses of Enum Class
org.opendaylight.yangtools.yang.common.ErrorType
-
Uses of ErrorType in org.opendaylight.yangtools.yang.common
Methods in org.opendaylight.yangtools.yang.common that return ErrorTypeModifier and TypeMethodDescriptionstatic @Nullable ErrorTypeErrorType.forElementBody(String elementBody) RpcError.getErrorType()Returns the conceptual layer at which the error occurred.static ErrorTypeReturns the enum constant of this class with the specified name.static ErrorType[]ErrorType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.opendaylight.yangtools.yang.common with parameters of type ErrorTypeModifier and TypeMethodDescriptionstatic @NonNull RpcErrorCreates an RpcError with severity ERROR for reuse.static @NonNull RpcErrorRpcResultBuilder.newError(ErrorType errorType, ErrorTag tag, String message, String applicationTag, String info, Throwable cause) Creates an RpcError with severity ERROR for reuse.static @NonNull RpcErrorRpcResultBuilder.newWarning(ErrorType errorType, ErrorTag tag, String message) Creates an RpcError with severity WARNING for reuse.static @NonNull RpcErrorRpcResultBuilder.newWarning(ErrorType errorType, ErrorTag tag, String message, String applicationTag, String info, Throwable cause) Creates an RpcError with severity WARNING for reuse.@NonNull RpcResultBuilder<T>Adds an error to the result.@NonNull RpcResultBuilder<T>Adds an error to the result.@NonNull RpcResultBuilder<T>Adds an error to the result.@NonNull RpcResultBuilder<T>RpcResultBuilder.withError(ErrorType errorType, ErrorTag tag, String message, String applicationTag, String info, Throwable cause) Adds an error to the result.@NonNull RpcResultBuilder<T>RpcResultBuilder.withWarning(ErrorType errorType, ErrorTag tag, String message) Adds a warning to the result.@NonNull RpcResultBuilder<T>RpcResultBuilder.withWarning(ErrorType errorType, ErrorTag tag, String message, String applicationTag, String info, Throwable cause) Adds a warning to the result.