Package oracle.webcenter.spaces.sitemap
Class SitemapException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.webcenter.webcenterapp.WebCenterException
oracle.webcenter.spaces.sitemap.SitemapException
- All Implemented Interfaces:
Serializable
@Exported
public class SitemapException
extends oracle.webcenter.webcenterapp.WebCenterException
This class is the
Exception
class for all sitemap
related exceptions raised. This class is derived from
WebCenterException
class- See Also:
-
Exception
WebCenterException
- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionSitemapException
(String resBundleClassName, String resourceKey, Object[] args, Throwable cause, ClassLoader classLoader) Construct a Sitemap exception with a complete set of parameters and explicit class loader. -
Method Summary
Methods inherited from class oracle.webcenter.webcenterapp.WebCenterException
getCause, getLocalizedMessage, getResourceKey, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SitemapException
public SitemapException(String resBundleClassName, String resourceKey, Object[] args, Throwable cause, ClassLoader classLoader) Construct a Sitemap exception with a complete set of parameters and explicit class loader. Class loader parameter may be necessary for cases when the Sitemap Exception implementation is loaded in one namespace and the actual resource bundle is in a different namespace. 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 bundleargs
- optional arguments formatted into the msg via MessageFormatcause
- optional cause of this exceptionclassLoader
- a reference for a class loader
-