Java Code Examples for org.fourthline.cling.model.types.ErrorCode#getCode()
The following examples show how to use
org.fourthline.cling.model.types.ErrorCode#getCode() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ActionException.java From TVRemoteIME with GNU General Public License v2.0 | 4 votes |
public ActionException(ErrorCode errorCode) { this(errorCode.getCode(), errorCode.getDescription()); }
Example 2
Source File: ActionException.java From TVRemoteIME with GNU General Public License v2.0 | 4 votes |
public ActionException(ErrorCode errorCode, String message, boolean concatMessages) { this(errorCode.getCode(), concatMessages ? (errorCode.getDescription() + ". " + message + ".") : message); }
Example 3
Source File: ActionException.java From TVRemoteIME with GNU General Public License v2.0 | 4 votes |
public ActionException(ErrorCode errorCode, String message, Throwable cause) { this(errorCode.getCode(), errorCode.getDescription() + ". " + message + ".", cause); }
Example 4
Source File: ActionException.java From DroidDLNA with GNU General Public License v3.0 | 4 votes |
public ActionException(ErrorCode errorCode) { this(errorCode.getCode(), errorCode.getDescription()); }
Example 5
Source File: ActionException.java From DroidDLNA with GNU General Public License v3.0 | 4 votes |
public ActionException(ErrorCode errorCode, String message, boolean concatMessages) { this(errorCode.getCode(), concatMessages ? (errorCode.getDescription() + ". " + message + ".") : message); }
Example 6
Source File: ActionException.java From DroidDLNA with GNU General Public License v3.0 | 4 votes |
public ActionException(ErrorCode errorCode, String message, Throwable cause) { this(errorCode.getCode(), errorCode.getDescription() + ". " + message + ".", cause); }