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 a `Declarable` class.
  Since:
    GemFire 3.0
  See Also:
    `CacheFactory.create(org.apache.geode.distributed.DistributedSystem)`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CacheXmlException(java.lang.String message)` Creates a new `CacheXmlException` with the given description.
    `CacheXmlException(java.lang.String message, java.lang.Throwable cause)` Creates a new `CacheXmlException` 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`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CacheXmlException

          public CacheXmlException(java.lang.String message,
                                   java.lang.Throwable cause)

      Creates a new `CacheXmlException` with the given description and cause.

    - #### CacheXmlException

          public CacheXmlException(java.lang.String message)

      Creates a new `CacheXmlException` with the given description.