Oracle Ultra Search Java API Reference
Release 10g (10.1)

B12028-02

oracle.ultrasearch.query
Class SearchException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.sql.SQLException
              extended byoracle.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
Method Detail

getErrorCode

public int getErrorCode()

getMessage

public java.lang.String getMessage()

getLocalizedMessage

public java.lang.String getLocalizedMessage()

Oracle Ultra Search Java API Reference
Release 10g (10.1)

B12028-02

Copyright © 2004 Oracle Corporation. All Rights Reserved.