Skip navigation links

Oracle® Ultra Search Java API Reference
11g Release 1 (11.1)

B28329-01


oracle.ultrasearch.query
Class SearchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.sql.SQLException
              extended by oracle.ultrasearch.query.SearchException

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SubmitURLException, TypeMismatchException

public class SearchException
extends java.sql.SQLException

Thrown when a search encounters errors.

Since:
9.0.2
See Also:
Serialized Form

Constructor Summary
SearchException(java.lang.String errorCode)
          Constructs a SearchException with the specified error code.
SearchException(java.lang.String errorCode, java.lang.Object arg)
          Constructs a SearchException with the specified error code and error argument.
SearchException(java.lang.String errorCode, java.lang.Object[] args)
          Constructs a SearchException with the specified error code and error argument.

 

Method Summary
 int getErrorCode()
           
 java.lang.String getLocalizedMessage()
           
 java.lang.String getMessage()
           

 

Methods inherited from class java.sql.SQLException
getNextException, getSQLState, setNextException

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

SearchException

public SearchException(java.lang.String errorCode)
Constructs a SearchException with the specified error code.
Parameters:
errorCode - the WKG error code

SearchException

public SearchException(java.lang.String errorCode,
                       java.lang.Object arg)
Constructs a SearchException with the specified error code and error argument.
Parameters:
errorCode - the WKG error code
arg - the argument for the error

SearchException

public SearchException(java.lang.String errorCode,
                       java.lang.Object[] args)
Constructs a SearchException with the specified error code and error argument.
Parameters:
errorCode - the WKG error code
arg - the argument for the error

Method Detail

getErrorCode

public int getErrorCode()
Overrides:
getErrorCode in class java.sql.SQLException

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Overrides:
getLocalizedMessage in class java.lang.Throwable

Skip navigation links

Oracle® Ultra Search Java API Reference
11g Release 1 (11.1)

B28329-01


Copyright © 2002,2007, Oracle. All Rights Reserved.