|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
| 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.tagging.model.TaggingException
public class TaggingException
| Field Summary | |
|---|---|
protected java.lang.String |
m_exCode |
protected static java.util.Map<java.lang.String,java.util.ResourceBundle> |
m_hmRbs |
protected java.lang.Object[] |
m_oaParams |
| Constructor Summary | |
|---|---|
protected |
TaggingException() |
|
TaggingException(java.lang.String exCode)Constructor for this exception class. |
|
TaggingException(java.lang.String exCode, java.lang.Object... args)Constructor for this exception class. |
|
TaggingException(java.lang.String exCode, java.lang.Throwable t)Constructor for this exception class. |
|
TaggingException(java.lang.String exCode, java.lang.Throwable t, java.lang.Object... args)Constructor for this exception class. |
| Method Summary | |
|---|---|
java.lang.String |
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 l)Returns a message in the format of the locale passed as an argument. |
protected java.lang.String |
getMessagePrivate(java.util.Locale loc)Returns a exception message in the locale specific format. |
java.lang.Object[] |
getParams()Returns the arguments for the format messaging |
protected java.util.ResourceBundle |
getResourceBundle(java.util.Locale loc)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 TaggingException. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getMessage, 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.Object[] m_oaParams
protected java.lang.String m_exCode
protected static java.util.Map<java.lang.String,java.util.ResourceBundle> m_hmRbs
| Constructor Detail |
|---|
protected TaggingException()
public TaggingException(java.lang.String 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 execption message.
public TaggingException(java.lang.String 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 execption message.args - argument(s) for the formatting of the message associated with this exception
public TaggingException(java.lang.String exCode,
java.lang.Throwable t)
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 execption message.t - throwable that cause this syndication exception to be raised
public TaggingException(java.lang.String exCode,
java.lang.Throwable t,
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 execption message.t - throwable that cause this syndication exception to be raisedargs - argument(s) for the formatting of the message associated with this exception| Method Detail |
|---|
public java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.Throwablepublic java.lang.String getLocalizedMessage(java.util.Locale l)
l - Localepublic java.lang.String getErrorCode()
public java.lang.Object[] getParams()
protected java.lang.String getResourceBundleName()
protected java.lang.String getMessagePrivate(java.util.Locale loc)
loc - Locale
protected final java.util.ResourceBundle getResourceBundle(java.util.Locale loc)
throws java.util.MissingResourceException
loc - Locale of the resource bundle soughtjava.util.MissingResourceException
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||