Skip navigation links
oracle.webcenter.spaces
Class SpacesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.webcenter.webcenterapp.WebCenterException
oracle.webcenter.spaces.SpacesException
- All Implemented Interfaces:
- java.io.Serializable
-
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. |
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 |
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
Copyright © 2009, 2010, Oracle. All rights reserved.