|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.8.0) E15995-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.webcenter.search.SearchException
public class SearchException
The base exception for all Search related errors.
Field Summary | |
---|---|
protected SearchExceptionCode |
m_exCode |
protected static java.util.Map<java.lang.String,java.util.ResourceBundle> |
m_hmRbs |
protected java.lang.String[] |
m_oaParams |
Constructor Summary | |
---|---|
protected |
SearchException() |
|
SearchException(SearchExceptionCode exCode) Constructs a SearchException with a SearchExceptionCode. |
|
SearchException(SearchExceptionCode exCode, java.lang.Object... args) Constructs a SearchException with a SearchExceptionCode and an array of Object arguments. |
|
SearchException(SearchExceptionCode exCode, java.lang.Throwable throwable) Constructs a SearchException with a SearchExceptionCode and a Throwable as a nested Exception. |
|
SearchException(SearchExceptionCode exCode, java.lang.Throwable throwable, java.lang.Object... args) Constructs a SearchException with a SearchExceptionCode, a Throwable as a nested Exception, and an array of Object arguments. |
Method Summary | |
---|---|
SearchExceptionCode |
getErrorCode() Returns the error code associated with this exception. |
java.lang.String |
getLocalizedMessage() Returns a message in the default locale format. |
java.lang.String |
getLocalizedMessage(java.util.Locale locale) Returns a message in the format of the locale passed as an argument. |
java.lang.String |
getMessage() Override method in base class to return a message in the default locale format. |
protected java.lang.String |
getMessagePrivate(java.util.Locale locale) Returns a exception message in the locale specific format. |
java.lang.String[] |
getParams() Returns the arguments for the format messaging. |
protected java.util.ResourceBundle |
getResourceBundle(java.util.Locale locale) Returns the resource bundle which is used in formatting the messages, given the locale. |
protected java.lang.String |
getResourceBundleName() Returns the name of the ResourceBundle to be used by this subclass of the SearchException. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String[] m_oaParams
protected SearchExceptionCode m_exCode
protected static java.util.Map<java.lang.String,java.util.ResourceBundle> m_hmRbs
Constructor Detail |
---|
protected SearchException()
public SearchException(SearchExceptionCode exCode)
exCode
- identifies the exception code associated with this exception. it will be used as a key into the exception resource bundle to get the localized execptin message.public SearchException(SearchExceptionCode exCode, java.lang.Object... args)
exCode
- identifies the exception code associated with this exception. it will be used as a key into the exception resource bundle to get the localized execptin message.args
- argument(s) for the formatting of the message associated with this exceptionpublic SearchException(SearchExceptionCode exCode, java.lang.Throwable throwable)
exCode
- identifies the exception code associated with this exception. it will be used as a key into the exception resource bundle to get the localized execptin message.throwable
- a throwable that causes this SearchException to be raisedpublic SearchException(SearchExceptionCode exCode, java.lang.Throwable throwable, java.lang.Object... args)
exCode
- identifies the exception code associated with this exception. it will be used as a key into the exception resource bundle to get the localized execptin message.throwable
- a throwable that cause this SearchException to be raisedargs
- argument(s) for the formatting of the message associated with this exceptionMethod Detail |
---|
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public java.lang.String getLocalizedMessage(java.util.Locale locale)
locale
- a Locale with which we wish to get the message forpublic SearchExceptionCode getErrorCode()
public java.lang.String[] getParams()
protected java.lang.String getResourceBundleName()
protected java.lang.String getMessagePrivate(java.util.Locale locale)
locale
- Locale to get the message inprotected final java.util.ResourceBundle getResourceBundle(java.util.Locale locale) throws java.util.MissingResourceException
locale
- Locale of the resource bundle soughtjava.util.MissingResourceException
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.8.0) E15995-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |