Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


oracle.webcenter.tagging.model
Class TaggingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.webcenter.tagging.model.TaggingException

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TaggingConcurrentException, TaggingServiceNotAvailableException

public class TaggingException
extends java.lang.Exception
See Also:
Serialized Form

Field Summary
protected  java.lang.String m_exCode
           
protected static java.util.Map<java.lang.String,java.util.ResourceBundle> m_hmRbs
           
protected  java.lang.String[] 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.String[] 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

m_oaParams

protected java.lang.String[] m_oaParams

m_exCode

protected java.lang.String m_exCode

m_hmRbs

protected static java.util.Map<java.lang.String,java.util.ResourceBundle> m_hmRbs

Constructor Detail

TaggingException

protected TaggingException()

TaggingException

public TaggingException(java.lang.String exCode)
Constructor for this exception class.
Parameters:
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.

TaggingException

public TaggingException(java.lang.String exCode,
                        java.lang.Object... args)
Constructor for this exception class.
Parameters:
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

TaggingException

public TaggingException(java.lang.String exCode,
                        java.lang.Throwable t)
Constructor for this exception class.
Parameters:
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

TaggingException

public TaggingException(java.lang.String exCode,
                        java.lang.Throwable t,
                        java.lang.Object... args)
Constructor for this exception class.
Parameters:
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
args - argument(s) for the formatting of the message associated with this exception

Method Detail

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Returns a message in the default locale format. The default locale is the locale where the server is placed.
Overrides:
getLocalizedMessage in class java.lang.Throwable
Returns:
String

getLocalizedMessage

public java.lang.String getLocalizedMessage(java.util.Locale l)
Returns a message in the format of the locale passed as an argument.
Parameters:
l - Locale
Returns:
String

getErrorCode

public java.lang.String getErrorCode()
Returns the error code associated with this exception
Returns:
String

getParams

public java.lang.String[] getParams()
Returns the arguments for the format messaging
Returns:
Object[] an array of objects

getResourceBundleName

protected java.lang.String getResourceBundleName()
Returns the name of the ResourceBundle to be used by this subclass of the TaggingException. e.g. "oracle.discussions.exmsgs.XXXMessages"
Returns:
String

getMessagePrivate

protected java.lang.String getMessagePrivate(java.util.Locale loc)
Returns a exception message in the locale specific format.
Parameters:
loc - Locale
Returns:
String

getResourceBundle

protected final java.util.ResourceBundle getResourceBundle(java.util.Locale loc)
                                                    throws java.util.MissingResourceException
Returns the resource bundle which is used in formatting the messages, given the locale.
Parameters:
loc - Locale of the resource bundle sought
Returns:
ResourceBundle object for that specified locale.
Throws:
java.util.MissingResourceException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


Copyright © 2009, 2012, Oracle and/or its affiliates. All rights reserved.