Class UniqueResourceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.directory.api.ldap.schema.extractor.UniqueResourceException
All Implemented Interfaces:
Serializable

public class UniqueResourceException extends RuntimeException
Exception for when we detect more than one unqiue schema LDIF file resource on the classpath.
Author:
Apache Directory Project
See Also:
  • Constructor Details

    • UniqueResourceException

      public UniqueResourceException(String resourceName, String resourceDescription)
      Instantiates a new unique resource exception.
      Parameters:
      resourceName - the resource name
      resourceDescription - the resource description
    • UniqueResourceException

      public UniqueResourceException(String resourceName, List<URL> urls, String resourceDescription)
      Instantiates a new unique resource exception.
      Parameters:
      resourceName - the resource name
      urls - the URLs
      resourceDescription - the resource description
    • UniqueResourceException

      public UniqueResourceException(String resourceName, URL first, Enumeration<URL> urlEnum, String resourceDescription)
      Instantiates a new unique resource exception.
      Parameters:
      resourceName - the resource name
      first - the first
      urlEnum - the enum with URLs
      resourceDescription - the resource description
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getResourceName

      public String getResourceName()
      Gets the resource name.
      Returns:
      the resource name
    • getUrls

      public List<URL> getUrls()
      Gets the URLs.
      Returns:
      the URLs