org.gvsig.fmap.dal.resource.exception
Class ResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.gvsig.tools.exception.BaseException
              extended by org.gvsig.fmap.dal.exception.DataException
                  extended by org.gvsig.fmap.dal.resource.exception.ResourceException
All Implemented Interfaces:
Serializable, IBaseException
Direct Known Subclasses:
AccessResourceException, PrepareResourceException, ResourceNotClosedOnDisposeManagerException, ResourceNotifyChangesException, ResourceNotifyCloseException, ResourceNotifyDisposeException, ResourceNotifyOpenException

public abstract class ResourceException
extends DataException

See Also:
Serialized Form

Field Summary
protected  Map values
           
 
Fields inherited from class org.gvsig.tools.exception.BaseException
code, formatString, messageKey
 
Constructor Summary
ResourceException(Resource resource, String messageFormat, String messageKey, long code)
           
ResourceException(Resource resource, String messageFormat, Throwable cause, String messageKey, long code)
           
ResourceException(String messageFormat, String messageKey, long code)
           
ResourceException(String messageFormat, Throwable cause, String messageKey, long code)
           
 
Method Summary
 Resource getResource()
           
protected  void setValue(String name, String value)
           
protected  Map values()
           
 
Methods inherited from class org.gvsig.tools.exception.BaseException
getCode, getFormatString, getLocalizedMessage, getLocalizedMessage, getLocalizedMessageStack, getLocalizedMessageStack, getMessage, getMessage, getMessageKey, getMessageStack, getMessageStack, iterator, setCode, setFormatString, setMessageKey, setTranslator, setTranslator, setValue
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

values

protected Map values
Constructor Detail

ResourceException

public ResourceException(String messageFormat,
                         Throwable cause,
                         String messageKey,
                         long code)

ResourceException

public ResourceException(String messageFormat,
                         String messageKey,
                         long code)

ResourceException

public ResourceException(Resource resource,
                         String messageFormat,
                         Throwable cause,
                         String messageKey,
                         long code)

ResourceException

public ResourceException(Resource resource,
                         String messageFormat,
                         String messageKey,
                         long code)
Method Detail

getResource

public Resource getResource()

setValue

protected void setValue(String name,
                        String value)
Overrides:
setValue in class DataException

values

protected Map values()
Overrides:
values in class DataException


Copyright © 2004-2012 gvSIG. All Rights Reserved.