Class WMSImagery.WMSGetCapabilitiesException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.openstreetmap.josm.io.imagery.WMSImagery.WMSGetCapabilitiesException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- WMSImagery
public static class WMSImagery.WMSGetCapabilitiesException extends Exception
An exception that is thrown if there was an error while getting the capabilities of the WMS server.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private String
incomingData
-
Constructor Summary
Constructors Constructor Description WMSGetCapabilitiesException(String message, String incomingData)
Constructs a newWMSGetCapabilitiesException
WMSGetCapabilitiesException(Throwable cause, String incomingData)
Constructs a newWMSGetCapabilitiesException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIncomingData()
The data that caused this exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
incomingData
private final String incomingData
-
-
Constructor Detail
-
WMSGetCapabilitiesException
public WMSGetCapabilitiesException(Throwable cause, String incomingData)
Constructs a newWMSGetCapabilitiesException
- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method)incomingData
- the answer from WMS server
-
WMSGetCapabilitiesException
public WMSGetCapabilitiesException(String message, String incomingData)
Constructs a newWMSGetCapabilitiesException
- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
methodincomingData
- the answer from the server- Since:
- 10520
-
-
Method Detail
-
getIncomingData
public String getIncomingData()
The data that caused this exception.- Returns:
- The server response to the capabilities request.
-
-