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(String message)
Crea WMSException.
|
WMSWrongSizeException(String message,
Throwable cause)
Crea WMSException.
|
WMSWrongSizeException(Throwable cause)
Crea WMSException.
|
Modifier and Type | Method and Description |
---|---|
static void |
check(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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WMSWrongSizeException()
public WMSWrongSizeException(String message)
message
- public WMSWrongSizeException(String message, Throwable cause)
message
- cause
- public WMSWrongSizeException(Throwable cause)
cause
- public int getWidth()
public int getHeight()
public void setWidth(int w)
public void setHeight(int h)
public static void check(String errorMsg) throws WMSException
errorMsg
- El mensaje de error que pasa el server.WMSException