NativeDaemonConnectorExceptionpublic class NativeDaemonConnectorException extends Exception An exception that indicates there was an error with a
{@link NativeDaemonConnector} operation. |
Fields Summary |
---|
private String | mCmd | private NativeDaemonEvent | mEvent |
Constructors Summary |
---|
public NativeDaemonConnectorException(String detailMessage)
super(detailMessage);
| public NativeDaemonConnectorException(String detailMessage, Throwable throwable)
super(detailMessage, throwable);
| public NativeDaemonConnectorException(String cmd, NativeDaemonEvent event)
super("command '" + cmd + "' failed with '" + event + "'");
mCmd = cmd;
mEvent = event;
|
Methods Summary |
---|
public java.lang.String | getCmd()
return mCmd;
| public int | getCode()
return mEvent.getCode();
| public java.lang.IllegalArgumentException | rethrowAsParcelableException()Rethrow as a {@link RuntimeException} subclass that is handled by
{@link Parcel#writeException(Exception)}.
throw new IllegalStateException(getMessage(), this);
|
|