| Package | Description | 
|---|---|
| org.opendaylight.yangtools.yang.common | 
| 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<RpcError> | 
OperationFailedException.getErrorList()
Returns additional error information about this exception. 
 | 
Collection<RpcError> | 
RpcResult.getErrors()
Returns a set of errors and warnings which occurred during processing
 the call. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RpcResultBuilder<T> | 
RpcResultBuilder.withRpcError(RpcError error)
Adds an RpcError. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RpcResultBuilder<T> | 
RpcResultBuilder.withRpcErrors(Collection<RpcError> errors)
Adds RpcErrors. 
 | 
| Constructor and Description | 
|---|
OperationFailedException(String message,
                        RpcError... errors)
Constructs a new instance with the specified detail message and errors. 
 | 
OperationFailedException(String message,
                        Throwable cause,
                        RpcError... errors)
Constructs a new instance with the specified detail message, cause and errors. 
 | 
Copyright © 2018 OpenDaylight. All rights reserved.