@Api(allMethods=true) public class GeomajasException extends Exception
| Constructor and Description |
|---|
GeomajasException()
Create new GeomajasException.
|
GeomajasException(int exceptionCode)
Create new GeomajasException.
|
GeomajasException(int exceptionCode,
Object... parameters)
Create new GeomajasException.
|
GeomajasException(Throwable ex)
Create new GeomajasException.
|
GeomajasException(Throwable ex,
int exceptionCode)
Create new GeomajasException.
|
GeomajasException(Throwable ex,
int exceptionCode,
Object... parameters)
Create new GeomajasException.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getExceptionCode()
Get the exception code for the problem.
|
String |
getMessage()
Get message using the default locale.
|
String |
getMessage(Locale locale)
Get the exception message using the requested locale.
|
String |
getResourceBundleName()
Resource bundle to be used for translating the exception code into exception messages.
|
String |
getShortMessage(Locale locale)
Get the short exception message using the requested locale.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic GeomajasException()
public GeomajasException(Throwable ex)
ex - cause exceptionpublic GeomajasException(Throwable ex, int exceptionCode, Object... parameters)
ex - cause exceptionexceptionCode - code which points to the messageparameters - possible extra parameterspublic GeomajasException(Throwable ex, int exceptionCode)
ex - cause exceptionexceptionCode - code which points to the messagepublic GeomajasException(int exceptionCode,
Object... parameters)
exceptionCode - code which points to the messageparameters - possible extra parameterspublic GeomajasException(int exceptionCode)
exceptionCode - code which points to the messagepublic String getMessage()
getMessage in class Throwablepublic String getMessage(Locale locale)
locale - locale for messagepublic String getShortMessage(Locale locale)
locale - locale for messagepublic int getExceptionCode()
public String getResourceBundleName()
Copyright © 2015 Geosparc. All Rights Reserved.