Skip navigation links

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


oracle.webcenter.spaces.ws.client
Class GroupSpaceWSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.webcenter.webcenterapp.WebCenterException
              extended by 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

 

Constructor Detail

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

Method Detail

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

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


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