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.spaces
Class SpacesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.webcenter.webcenterapp.WebCenterException
              extended by oracle.webcenter.spaces.SpacesException

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
GroupSpaceOpsException, SpacesUnauthorizedException

public class SpacesException
extends oracle.webcenter.webcenterapp.WebCenterException

This class is the Exception class for all Space related exceptions raised. This class is derived from WebCenterException class

See Also:
Exception, WebCenterException, Serialized Form

Constructor Summary
SpacesException(java.lang.String resBundleClassName, java.lang.String resourceKey, java.lang.Object[] args, java.lang.Throwable cause, java.lang.ClassLoader classLoader)
          Construct a Spaces exception with a complete set of parameters and explicit class loader.

 

Method Summary

 

Methods inherited from class oracle.webcenter.webcenterapp.WebCenterException
getCause, getLocalizedMessage, printStackTrace

 

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

SpacesException

public SpacesException(java.lang.String resBundleClassName,
                       java.lang.String resourceKey,
                       java.lang.Object[] args,
                       java.lang.Throwable cause,
                       java.lang.ClassLoader classLoader)
Construct a Spaces exception with a complete set of parameters and explicit class loader. Class loader parameter may be neccesary for cases when the Spaces 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

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.