public class ManagementException extends Exception
Constructor and Description |
---|
ManagementException(String message)
Constructor from the message.
|
ManagementException(String message,
Throwable cause)
Constructor from the message and the cause.
|
Modifier and Type | Method and Description |
---|---|
static ManagementException |
fromResponse(net.named_data.jndn.ControlResponse response)
Create exception from NFD's ControlResponse.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ManagementException(String message)
message
- Error messagepublic static ManagementException fromResponse(net.named_data.jndn.ControlResponse response)
response
- ControlResponse from which to use status code and status textCopyright © 2016. All rights reserved.