Class EntityUnresolver.ForbiddenEntityResolutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xml.sax.SAXException
com.highdeal.hci.EntityUnresolver.ForbiddenEntityResolutionException
All Implemented Interfaces:
Serializable
Enclosing class:
EntityUnresolver

public static final class EntityUnresolver.ForbiddenEntityResolutionException extends SAXException
Exception thrown when an entity resolution is requested.

The entity to be resolved is available by using the following methods:

See Also:
  • Constructor Details

    • ForbiddenEntityResolutionException

      public ForbiddenEntityResolutionException(String publicId, String systemId)
      Initializes a ForbiddenEntityResolutionException with entity to be resolved.
      Parameters:
      publicId - The public name of the entity being referenced
      systemId - The entity URL
  • Method Details

    • getPublicId

      public String getPublicId()
      Gets the name of the entity to be resolved.
      Returns:
      The name of the entity as string
    • getSystemId

      public String getSystemId()
      Gets the entity URL of the entity to be resolved.
      Returns:
      The entity URL as string