com.supermap.services.wmts
Class WMTSServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.supermap.services.wmts.WMTSServiceException
-
- All Implemented Interfaces:
- java.io.Serializable
public class WMTSServiceException extends java.lang.RuntimeExceptionThe exception information of the relevant WMTS service.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors 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.
-
Method Summary
Methods Modifier and Type Method and Description WMTSExceptionCodeValuegetExceptionCode()Get exception code.java.lang.StringgetLocator()Get exception location.voidsetExceptionCode(WMTSExceptionCodeValue exceptionCode)Set exception code.voidsetLocator(java.lang.String locator)Set exception location.
-
-
-
Constructor Detail
-
WMTSServiceException
public WMTSServiceException(java.lang.String msg)
Construct new exception with a detailed message.- Parameters:
msg- detailed message.
-
WMTSServiceException
public WMTSServiceException(java.lang.Throwable e)
Construct a new exception with an existing exception.- Parameters:
e- the existing exception.
-
WMTSServiceException
public WMTSServiceException(java.lang.String msg, java.lang.Throwable e)Construct new exception with the specific detailed message.- Parameters:
msg- detailed message.e- reason.
-
WMTSServiceException
public 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.- Parameters:
message- detailed message.exceptionCode- exception code.locator- exception location.
-
WMTSServiceException
public WMTSServiceException(java.lang.String message, WMTSExceptionCodeValue exceptionCode, java.lang.String locator, java.lang.Throwable e)
-
-
Method Detail
-
setExceptionCode
public final void setExceptionCode(WMTSExceptionCodeValue exceptionCode)
Set exception code.- Parameters:
exceptionCode- exception code.
-
setLocator
public final void setLocator(java.lang.String locator)
Set exception location.- Parameters:
locator- exception location.
-
getExceptionCode
public final WMTSExceptionCodeValue getExceptionCode()
Get exception code.- Returns:
- exception code.
-
getLocator
public final java.lang.String getLocator()
Get exception location.- Returns:
- exception location.
-
-