Package netscape.ldap.util
Class BadFilterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
netscape.ldap.util.BadFilterException
- All Implemented Interfaces:
Serializable
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates an Unknown BadFilterExceptionCreates a BadFilterException with the given stringBadFilterException
(String s, int nErrorLineNumber) Creates a BadFilterException with the given string and line number -
Method Summary
Modifier and TypeMethodDescriptionint
If appropriate, return the line number of the ldapfilter.conf file (or url or buffer) where this error occurred.(package private) void
setErrorLineNumber
(int nErrorLineNumber) Set the line number in the ldapfilter.conf file/url/buffer where this error occurred.toString()
Returns the exception string.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
m_strException
-
m_nLine
private int m_nLine
-
-
Constructor Details
-
BadFilterException
public BadFilterException()Creates an Unknown BadFilterException -
BadFilterException
Creates a BadFilterException with the given string -
BadFilterException
Creates a BadFilterException with the given string and line number
-
-
Method Details
-
toString
Returns the exception string. -
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.
-