@Gw2ApiVersion(value="v1") public class GwApiError extends Error
try...catch to trap it.| Constructor and Description |
|---|
GwApiError() |
| Modifier and Type | Method and Description |
|---|---|
int |
getError()
Retrieve the error number associated with the instance.
|
int |
getLine()
Retrieve the line number in ArenaNet's remote code that generated
this error.
|
String |
getMessage() |
int |
getModule()
Retrieve the module identifier associated with the instance.
|
int |
getProduct()
Retrieve the product identifier associated with the instance.
|
String |
getText()
Retrieve a text description of the error.
|
void |
setError(int error) |
void |
setLine(int line) |
void |
setModule(int module) |
void |
setProduct(int product) |
void |
setText(String text) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic int getError()
public void setError(int error)
public int getProduct()
public void setProduct(int product)
public int getModule()
public void setModule(int module)
public int getLine()
public void setLine(int line)
public String getText()
public void setText(String text)
public String getMessage()
getMessage in class ThrowableCopyright © 2014. All Rights Reserved.