public class WMSWrongSizeException extends WMSException
Requested image is too wide, max allowed width is 4096 Requested image is too tall, max allowed height is 4096
- Parámetros erroneos: prefijo = mapa = 0 formato = IMAGE/JPEG XMin = 1.1578804698593 YMin = 53.5852110737936 XMax = 10.3 YMax = 53.8000038968219 AnchoPixels = 64 AltoPixels = 5023 Transparente = TRUE Descripción error: AltoPixels > 2000
msWMSLoadGetMapParams(): WMS server error. Image size out of range, WIDTH and HEIGHT must be between 1 and 2048 pixels.
Constructor and Description |
---|
WMSWrongSizeException() |
WMSWrongSizeException(java.lang.String message)
Crea WMSException.
|
WMSWrongSizeException(java.lang.String message,
java.lang.Throwable cause)
Crea WMSException.
|
WMSWrongSizeException(java.lang.Throwable cause)
Crea WMSException.
|
Modifier and Type | Method and Description |
---|---|
static void |
check(java.lang.String errorMsg)
Checks if the argument is a WrongSizeError message, in this
case throws a WMSWrongSizeException
|
int |
getHeight() |
int |
getWidth() |
void |
setHeight(int h) |
void |
setWidth(int w) |
getWMSMessage, setWMSMessage
public WMSWrongSizeException()
public WMSWrongSizeException(java.lang.String message)
message
- public WMSWrongSizeException(java.lang.String message, java.lang.Throwable cause)
message
- cause
- public WMSWrongSizeException(java.lang.Throwable cause)
cause
- public int getWidth()
public int getHeight()
public void setWidth(int w)
public void setHeight(int h)
public static void check(java.lang.String errorMsg) throws WMSException
errorMsg
- El mensaje de error que pasa el server.WMSException