Gemfire JavaDocs
Package org.apache.geode.cache
Class CacheXmlException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.geode.GemFireException
-
- org.apache.geode.cache.CacheRuntimeException
-
- org.apache.geode.cache.CacheXmlException
-
- All Implemented Interfaces:
java.io.Serializable
public class CacheXmlException extends CacheRuntimeException
Thrown when a problem is encountered while parsing a declarative caching XML file. Examples of such problems are a malformed XML file or the inability to load aDeclarable
class.- Since:
- GemFire 3.0
- See Also:
CacheFactory.create()
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheXmlException(java.lang.String message)
Creates a newCacheXmlException
with the given description.CacheXmlException(java.lang.String message, java.lang.Throwable cause)
Creates a newCacheXmlException
with the given description and cause.
-
Method Summary
-
Methods inherited from class org.apache.geode.cache.CacheRuntimeException
toString
-
Methods inherited from class org.apache.geode.GemFireException
getRootCause
-
-
-
-
Constructor Detail
-
CacheXmlException
public CacheXmlException(java.lang.String message, java.lang.Throwable cause)
Creates a newCacheXmlException
with the given description and cause.- Parameters:
message
- the detail messagecause
- the cause
-
CacheXmlException
public CacheXmlException(java.lang.String message)
Creates a newCacheXmlException
with the given description.- Parameters:
message
- the detail message
-
-