|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.gvsig.remoteclient.exceptions.WMSException
org.gvsig.remoteclient.exceptions.WMSWrongSizeException
public class WMSWrongSizeException
La petición al servidor era de un tamaño equivocado.
Reconoce execepciones de algunos tipos:
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 Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.gvsig.remoteclient.exceptions.WMSException |
|---|
getWMSMessage, setWMSMessage |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 - | Method Detail |
|---|
public static void check(java.lang.String errorMsg)
throws WMSException
errorMsg - El mensaje de error que pasa el server.
WMSExceptionpublic int getHeight()
public int getWidth()
public void setHeight(int h)
public void setWidth(int w)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||