public class TS3ServerQueryException extends Exception
| Constructor and Description |
|---|
TS3ServerQueryException(String apiMethodName,
String errorID,
String errorMessage,
String extraErrorMessage,
String failedPermissionID)
Only use this constructor to create a new TS3ServerQueryException!
|
| Modifier and Type | Method and Description |
|---|---|
String |
getApiMethodName()
JTS3ServerQuery method where the exception was thrown.
|
int |
getErrorID()
Error ID from TS3 server
|
String |
getErrorMessage()
Error message from TS3 server
|
String |
getExtraErrorMessage()
Extra error message from TS3 server.
|
int |
getFailedPermissionID()
Failed permission ID from TS3 server.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TS3ServerQueryException(String apiMethodName, String errorID, String errorMessage, String extraErrorMessage, String failedPermissionID)
apiMethodName - Free text with further information where the exception was thrown. Not important for this exception!errorID - Always the id value of the TS3 server query error!errorMessage - Always the msg value of the TS3 server query error!extraErrorMessage - Always the extra_msg value of the TS3 server query error!failedPermissionID - Always the failed_permid value of the TS3 server query error!public String getApiMethodName()
public int getErrorID()
public String getErrorMessage()
public String getExtraErrorMessage()
null in most cases.public int getFailedPermissionID()