oracle.ultrasearch.query
Class SearchException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.sql.SQLException
|
+--oracle.ultrasearch.query.SearchException
- 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. |
Methods inherited from class java.sql.SQLException |
getNextException, getSQLState, setNextException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
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