public class ProfileException
extends oracle.webcenter.framework.service.BaseWCServiceException
Exception class for all People Service
related exceptions raised. It extends standard exception class.Exception,
Serialized Form| Constructor and Description |
|---|
ProfileException(java.lang.String resourceKey,
java.lang.Object[] args)
Construct a Profile exception defaulting the error resource bundle
to the Profile error bundle and the classloader to the current
classloader.
|
ProfileException(java.lang.String resourceKey,
java.lang.Object[] args,
java.lang.Throwable cause)
Construct a Profile exception defaulting the error resource bundle
to the Profile error bundle and the classloader to the current
classloader.
|
ProfileException(java.lang.String resBundleClassName,
java.lang.String resourceKey,
java.lang.Object[] args,
java.lang.Throwable cause,
java.lang.ClassLoader classLoader)
Construct a Profile exception with a complete set of parameters and
explicit class loader.
|
getCause, getLocalizedMessage, printStackTracepublic ProfileException(java.lang.String resBundleClassName,
java.lang.String resourceKey,
java.lang.Object[] args,
java.lang.Throwable cause,
java.lang.ClassLoader classLoader)
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 loaderpublic ProfileException(java.lang.String resourceKey,
java.lang.Object[] args,
java.lang.Throwable cause)
Calling this is equivalent to calling the complete-parameter
constructor with resBundleClassName as
ProfileErrorBundle.class.getName() and
classLoader as null.
resourceKey - the key of the resource within the resource bundleargs - optional arguments formatted into the msg via MessageFormatcause - optional cause of this exceptionpublic ProfileException(java.lang.String resourceKey,
java.lang.Object[] args)
Calling this is equivalent to calling the complete-parameter
constructor with resBundleClassName as
ProfileErrorBundle.class.getName() and
classLoader as null.
resourceKey - the key of the resource within the resource bundleargs - optional arguments formatted into the msg via MessageFormat