| Modifier and Type | Method and Description |
|---|---|
RpcError.ErrorType |
RpcError.getErrorType()
Returns the conceptual layer at which the error occurred.
|
static RpcError.ErrorType |
RpcError.ErrorType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RpcError.ErrorType[] |
RpcError.ErrorType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static RpcError |
RpcResultBuilder.newError(RpcError.ErrorType errorType,
String tag,
String message)
Creates an RpcError with severity ERROR for reuse.
|
static RpcError |
RpcResultBuilder.newError(RpcError.ErrorType errorType,
String tag,
String message,
String applicationTag,
String info,
Throwable cause)
Creates an RpcError with severity ERROR for reuse.
|
static RpcError |
RpcResultBuilder.newWarning(RpcError.ErrorType errorType,
String tag,
String message)
Creates an RpcError with severity WARNING for reuse.
|
static RpcError |
RpcResultBuilder.newWarning(RpcError.ErrorType errorType,
String tag,
String message,
String applicationTag,
String info,
Throwable cause)
Creates an RpcError with severity WARNING for reuse.
|
RpcResultBuilder<T> |
RpcResultBuilder.withError(RpcError.ErrorType errorType,
String message)
Adds an error to the result.
|
RpcResultBuilder<T> |
RpcResultBuilder.withError(RpcError.ErrorType errorType,
String tag,
String message)
Adds an error to the result.
|
RpcResultBuilder<T> |
RpcResultBuilder.withError(RpcError.ErrorType errorType,
String tag,
String message,
String applicationTag,
String info,
Throwable cause)
Adds an error to the result.
|
RpcResultBuilder<T> |
RpcResultBuilder.withError(RpcError.ErrorType errorType,
String message,
Throwable cause)
Adds an error to the result.
|
RpcResultBuilder<T> |
RpcResultBuilder.withWarning(RpcError.ErrorType errorType,
String tag,
String message)
Adds a warning to the result.
|
RpcResultBuilder<T> |
RpcResultBuilder.withWarning(RpcError.ErrorType errorType,
String tag,
String message,
String applicationTag,
String info,
Throwable cause)
Adds a warning to the result.
|
Copyright © 2018 OpenDaylight. All rights reserved.