public class WMTSServiceException
extends java.lang.RuntimeException
The exception information of the relevant WMTS service.
Constructor and Description |
---|
WMTSServiceException(java.lang.String msg)
Construct new exception with a detailed message.
|
WMTSServiceException(java.lang.String msg, java.lang.Throwable e)
Construct new exception with the specific detailed message.
|
WMTSServiceException(java.lang.String message, WMTSExceptionCodeValue exceptionCode, java.lang.String locator)
Constructs a new exception based on the specified detail message, exception code, and exception location.
|
WMTSServiceException(java.lang.String message, WMTSExceptionCodeValue exceptionCode, java.lang.String locator, java.lang.Throwable e) |
WMTSServiceException(java.lang.Throwable e)
Construct a new exception with an existing exception.
|
Modifier and Type | Method and Description |
---|---|
WMTSExceptionCodeValue |
getExceptionCode()
Get exception code.
|
java.lang.String |
getLocator()
Get exception location.
|
void |
setExceptionCode(WMTSExceptionCodeValue exceptionCode)
Set exception code.
|
void |
setLocator(java.lang.String locator)
Set exception location.
|
public WMTSServiceException(java.lang.String msg)
msg
- detailed message.public WMTSServiceException(java.lang.Throwable e)
e
- the existing exception.public WMTSServiceException(java.lang.String msg, java.lang.Throwable e)
msg
- detailed message.e
- reason.public WMTSServiceException(java.lang.String message, WMTSExceptionCodeValue exceptionCode, java.lang.String locator)
message
- detailed message.exceptionCode
- exception code.locator
- exception location.public WMTSServiceException(java.lang.String message, WMTSExceptionCodeValue exceptionCode, java.lang.String locator, java.lang.Throwable e)
public final void setExceptionCode(WMTSExceptionCodeValue exceptionCode)
exceptionCode
- exception code.public final void setLocator(java.lang.String locator)
locator
- exception location.public final WMTSExceptionCodeValue getExceptionCode()
public final java.lang.String getLocator()