es.prodevelop.gvsig.mobile.common
Class GvsigMobileException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byes.prodevelop.gvsig.mobile.common.GvsigMobileException
All Implemented Interfaces:
java.io.Serializable

public class GvsigMobileException
extends java.lang.Exception

Exception thrown in gvSIGMobile

Author:
mmontesinos
See Also:
Serialized Form

Constructor Summary
GvsigMobileException()
          Default constructor
GvsigMobileException(int errorCode)
          Creates a new exception from a gvSIGMobile error code passed as a parameter It generates an error string with the error code and the corresponding error description appended
GvsigMobileException(int errorCode, java.lang.String message)
          Creates a new exception from a gvSIGMobile error code passed as a parameter and a text description It generates an error string with the error code, the corresponding error description appended and the text message passed as a parameter
GvsigMobileException(java.lang.String message)
          Creates a new exception with the message passed as a parameter
GvsigMobileException(java.lang.String message, java.lang.Throwable cause)
          Creates a new exception with a message and the detail of the cause
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GvsigMobileException

public GvsigMobileException()
Default constructor


GvsigMobileException

public GvsigMobileException(int errorCode)
Creates a new exception from a gvSIGMobile error code passed as a parameter It generates an error string with the error code and the corresponding error description appended

Parameters:
errorCode - Error Code (as defined in gvSIGMobile GvsigMobileGUIConstants class)

GvsigMobileException

public GvsigMobileException(int errorCode,
                            java.lang.String message)
Creates a new exception from a gvSIGMobile error code passed as a parameter and a text description It generates an error string with the error code, the corresponding error description appended and the text message passed as a parameter

Parameters:
errorCode - Error Code (as defined in gvSIGMobile GvsigMobileGUIConstants class)
message - Additional error description to be generated

GvsigMobileException

public GvsigMobileException(java.lang.String message)
Creates a new exception with the message passed as a parameter

Parameters:
message - Text of the message for the exception

GvsigMobileException

public GvsigMobileException(java.lang.String message,
                            java.lang.Throwable cause)
Creates a new exception with a message and the detail of the cause

Parameters:
message - Text of the message for the exception
cause - Cause of the exception