Skip navigation links
oracle.portal.wcs
Class WcException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.portal.wcs.WcException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- TransportException
-
public class WcException
- extends java.lang.Exception
- See Also:
- Serialized Form
Field Summary |
protected java.lang.Throwable |
m_eInternal
|
protected java.lang.String |
m_exCode
|
protected java.lang.Object[] |
m_oaParams
|
protected static java.util.Hashtable |
ms_htRb
The hastable to cache the resource bundle keyed by Locale and ResourceBoundleName. |
Constructor Summary |
protected |
WcException()
|
|
WcException(java.lang.String exCode)
|
|
WcException(java.lang.String exCode, java.lang.Object arg1)
|
|
WcException(java.lang.String exCode, java.lang.Object arg1, java.lang.Object arg2)
|
|
WcException(java.lang.String exCode, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
|
|
WcException(java.lang.String exCode, java.lang.Throwable e)
|
|
WcException(java.lang.String exCode, java.lang.Throwable e, java.lang.Object arg1)
|
|
WcException(java.lang.String exCode, java.lang.Throwable e, java.lang.Object arg1, java.lang.Object arg2)
|
|
WcException(java.lang.String exCode, java.lang.Throwable e, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_exCode
protected java.lang.String m_exCode
m_oaParams
protected java.lang.Object[] m_oaParams
m_eInternal
protected java.lang.Throwable m_eInternal
ms_htRb
protected static java.util.Hashtable ms_htRb
- The hastable to cache the resource bundle keyed by Locale and ResourceBoundleName. This static variable is shared by all the WcException classes
WcException
protected WcException()
WcException
public WcException(java.lang.String exCode)
WcException
public WcException(java.lang.String exCode,
java.lang.Object arg1)
WcException
public WcException(java.lang.String exCode,
java.lang.Object arg1,
java.lang.Object arg2)
WcException
public WcException(java.lang.String exCode,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3)
WcException
public WcException(java.lang.String exCode,
java.lang.Throwable e)
WcException
public WcException(java.lang.String exCode,
java.lang.Throwable e,
java.lang.Object arg1)
WcException
public WcException(java.lang.String exCode,
java.lang.Throwable e,
java.lang.Object arg1,
java.lang.Object arg2)
WcException
public WcException(java.lang.String exCode,
java.lang.Throwable e,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3)
printStackTrace
public void printStackTrace()
-
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream s)
-
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter pw)
-
- Overrides:
printStackTrace
in class java.lang.Throwable
getLocalizedMessage
public java.lang.String getLocalizedMessage()
-
- Overrides:
getLocalizedMessage
in class java.lang.Throwable
getLocalizedMessage
public java.lang.String getLocalizedMessage(java.util.Locale l)
getMessage
public java.lang.String getMessage()
- Returns the message associated to this Exception using the default locale.
-
- Overrides:
getMessage
in class java.lang.Throwable
getErrorCode
public java.lang.String getErrorCode()
getResourceBundle
protected final java.util.ResourceBundle getResourceBundle(java.util.Locale loc)
throws java.util.MissingResourceException
-
- Throws:
java.util.MissingResourceException
getResourceBundleName
protected java.lang.String getResourceBundleName()
- Subclasses could overwrite it to use different resouce bundle
Skip navigation links
Copyright © 2003, 2009, Oracle Corporation. All Rights Reserved