Class BadFilterException

java.lang.Object
java.lang.Throwable
java.lang.Exception
netscape.ldap.util.BadFilterException
All Implemented Interfaces:
Serializable

public class BadFilterException extends Exception
The exception thrown when there is a problem with either an LDAPFilter or with the File/URL/Buffer form which we're creating the LDAPFilter.
Version:
1.0
See Also:
  • Field Details

    • m_strException

      private String m_strException
    • m_nLine

      private int m_nLine
  • Constructor Details

    • BadFilterException

      public BadFilterException()
      Creates an Unknown BadFilterException
    • BadFilterException

      public BadFilterException(String s)
      Creates a BadFilterException with the given string
    • BadFilterException

      public BadFilterException(String s, int nErrorLineNumber)
      Creates a BadFilterException with the given string and line number
  • Method Details

    • toString

      public String toString()
      Returns the exception string.
      Overrides:
      toString in class Throwable
    • getErrorLineNumber

      public int getErrorLineNumber()
      If appropriate, return the line number of the ldapfilter.conf file (or url or buffer) where this error occurred. This method will return -1 if the line number was not set.
    • setErrorLineNumber

      void setErrorLineNumber(int nErrorLineNumber)
      Set the line number in the ldapfilter.conf file/url/buffer where this error occurred.