public class OperationFailedException extends Exception
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.
|
Modifier and Type | Method and Description |
---|---|
List<RpcError> |
getErrorList()
Returns additional error information about this exception.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public OperationFailedException(String message, RpcError... errors)
message
- the detail messageerrors
- RpcError
instances that provide additional error information about
this exceptionpublic OperationFailedException(String message, Throwable cause, RpcError... errors)
message
- the detail messagecause
- the causeerrors
- RpcError
instances that provide additional error information about
this exceptionCopyright © 2019 OpenDaylight. All rights reserved.