public class WTRestException extends Exception
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
WTRestException(String code,
String message) |
WTRestException(WTErrorEntity entity) |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getMessage() |
void |
setCode(String code) |
void |
setMessage(String message) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final long serialVersionUID
public WTRestException(WTErrorEntity entity)
Copyright © 2016–2022. All rights reserved.