Skip navigation links
oracle.webcenter.spaces.ws.client
Class GroupSpaceWSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.webcenter.webcenterapp.WebCenterException
oracle.webcenter.spaces.ws.client.GroupSpaceWSException
- All Implemented Interfaces:
- java.io.Serializable
-
public class GroupSpaceWSException
- extends oracle.webcenter.webcenterapp.WebCenterException
This class represents the exception class for all Group Space WebService client related operations. It can only be initialized by GroupSpaceWSClient
class and GroupSpaceWSMetadata
class.
- See Also:
- Serialized Form
Constructor Summary |
GroupSpaceWSException(java.lang.String resBundleClassName, java.lang.String resourceKey, java.lang.Object[] args, java.lang.Throwable cause, java.lang.ClassLoader classLoader)
Construct a GroupSpaceWSException exception with a complete set of parameters and explicit class loader. |
Method Summary |
java.lang.String |
getLocalizedMessage()
Method to compose the localized error message. |
void |
printStackTrace()
Print this exception and its backtrace to the standard error stream. |
Methods inherited from class oracle.webcenter.webcenterapp.WebCenterException |
getCause |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GroupSpaceWSException
public GroupSpaceWSException(java.lang.String resBundleClassName,
java.lang.String resourceKey,
java.lang.Object[] args,
java.lang.Throwable cause,
java.lang.ClassLoader classLoader)
- Construct a GroupSpaceWSException exception with a complete set of parameters and explicit class loader. Class loader parameter may be neccesary for cases when the WebCenter Exception implemetation is loaded in one name space and the actual resource bundle is in a different name space. In such cases, get the current classloader from the calling class and pass it as argument to avoid missing resource bundle exception.
- Parameters:
resBundleClassName
- the fully qualified name of the resource bundle with the error string.
resourceKey
- the key of the resource within the resource bundle
args
- optional arguments formatted into the msg via MessageFormat
cause
- optional cause of this exception
classLoader
- a reference for a class loader
printStackTrace
public void printStackTrace()
- Print this exception and its backtrace to the standard error stream. Note: it is necessary to override this method (and not just the two that follow) because the JDK implementation of Throwable.printStackTrace() calls one of its own private methods instead of printStackTrace(PrintStream stream)!
-
- Overrides:
printStackTrace
in class oracle.webcenter.webcenterapp.WebCenterException
getLocalizedMessage
public java.lang.String getLocalizedMessage()
- Method to compose the localized error message.
-
- Overrides:
getLocalizedMessage
in class oracle.webcenter.webcenterapp.WebCenterException
-
- Returns:
- String with localized error message.
Skip navigation links
Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.