com.hyperion.css
Class CSSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.hyperion.css.CSSBaseException
              extended by com.hyperion.css.CSSException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CSSAuthenticationException, CSSAuthorizationException, CSSCircularDependencyException, CSSCommunicationException, CSSCryptographicException, CSSEntityAlreadyExistsException, CSSGroupNotProvisionedException, CSSIllegalArgumentException, CSSInvalidGroupException, CSSInvalidIdentityException, CSSInvalidPrincipalException, CSSInvalidRoleException, CSSInvalidUserException, CSSMethodNotSupportedException, CSSNoProviderException, CSSOperationNotSupportedException, CSSPasswordPolicyException, CSSTokenNotAcceptedException, CSSTokenNotAvailableException, CSSUserNotProvisionedException

public class CSSException
extends CSSBaseException

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.hyperion.css.CSSBaseException
area_Code, error_Code, errorArguments, errorMessage, hasErrorArguments, hasRootCause, locale, logLevel, providerName, rootCausesList, rootMessagesList
 
Constructor Summary
CSSException(java.util.Map context, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg)
           
CSSException(java.util.Map context, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg, java.lang.Object param1)
           
CSSException(java.util.Map context, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg, java.lang.Object[] args)
           
CSSException(java.util.Map context, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg, java.lang.Throwable thrown)
           
CSSException(java.util.Map context, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg, java.lang.Throwable thrown, java.lang.Object param)
           
CSSException(java.util.Map context, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg, java.lang.Throwable thrown, java.lang.Object[] args)
           
 
Method Summary
 java.lang.String getErrorCode()
           The error code.
 java.lang.String getExceptionMessage()
           
 java.lang.String getExceptionMessage(java.util.Locale locale)
           
 java.lang.String getMessage()
          Returns the detail message string of this exception.
 java.lang.String getMessage(java.util.Locale locale)
          Returns the detail localized message string of this exception for the specified locale.
 java.lang.Throwable getRootCause()
           Obtain the root exception, if any.
 java.lang.Throwable getRootException()
           
 java.lang.String getRootMessage()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream pS)
           
 void printStackTrace(java.io.PrintWriter pW)
           
 void setErrorCode(java.lang.String errorCode)
           
 void setExceptionMessage(java.lang.String msgKey)
           
 void setExceptionMessage(java.lang.String msgKey, java.lang.Object param1)
           
 void setExceptionMessage(java.lang.String msgKey, java.lang.Object[] args)
           
 void setRootException(java.lang.Throwable rootException)
           
 java.lang.String toString()
           Returns the string representation.
 
Methods inherited from class com.hyperion.css.CSSBaseException
getCSSAreaCode, getCSSErrorCode, getExceptionInfo, getProvider, getRootCauses, getRootMessages, setErrorCode, setExceptionInfo, setLocale, setRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CSSException

public CSSException(java.util.Map context,
                    java.lang.String sourceClass,
                    java.lang.String sourceMethod,
                    java.lang.String msg)

CSSException

public CSSException(java.util.Map context,
                    java.lang.String sourceClass,
                    java.lang.String sourceMethod,
                    java.lang.String msg,
                    java.lang.Throwable thrown)
Parameters:
context -
sourceClass -
sourceMethod -
msg -
thrown -

CSSException

public CSSException(java.util.Map context,
                    java.lang.String sourceClass,
                    java.lang.String sourceMethod,
                    java.lang.String msg,
                    java.lang.Throwable thrown,
                    java.lang.Object param)

CSSException

public CSSException(java.util.Map context,
                    java.lang.String sourceClass,
                    java.lang.String sourceMethod,
                    java.lang.String msg,
                    java.lang.Throwable thrown,
                    java.lang.Object[] args)

CSSException

public CSSException(java.util.Map context,
                    java.lang.String sourceClass,
                    java.lang.String sourceMethod,
                    java.lang.String msg,
                    java.lang.Object param1)

CSSException

public CSSException(java.util.Map context,
                    java.lang.String sourceClass,
                    java.lang.String sourceMethod,
                    java.lang.String msg,
                    java.lang.Object[] args)
Method Detail

getExceptionMessage

public java.lang.String getExceptionMessage()

getExceptionMessage

public java.lang.String getExceptionMessage(java.util.Locale locale)

setExceptionMessage

public void setExceptionMessage(java.lang.String msgKey)

setExceptionMessage

public void setExceptionMessage(java.lang.String msgKey,
                                java.lang.Object param1)

setExceptionMessage

public void setExceptionMessage(java.lang.String msgKey,
                                java.lang.Object[] args)

getMessage

public java.lang.String getMessage()
Description copied from class: CSSBaseException
Returns the detail message string of this exception.

The message will be prefixed with area code and error code like

AREA_CODE:ERROR_CODE:ERROR_MESSAGE (e.g, 10:100:General Error Occured).

Overrides:
getMessage in class CSSBaseException
Returns:
the detail message string of this Throwable instance (which may be null).

getMessage

public java.lang.String getMessage(java.util.Locale locale)
Description copied from class: CSSBaseException
Returns the detail localized message string of this exception for the specified locale.

The message will be prefixed with area code and error code like

AREA_CODE:ERROR_CODE:ERROR_MESSAGE (e.g, 10:100:General Error Occured).

Please note that if the locale is not specified, the default locale set for the system is used.

Overrides:
getMessage in class CSSBaseException
Parameters:
locale - - the locale object to localize the message
Returns:
the detail message string of this Throwable instance (which may be null).

getRootMessage

public java.lang.String getRootMessage()

getErrorCode

public java.lang.String getErrorCode()
Description copied from class: CSSBaseException

The error code.

Overrides:
getErrorCode in class CSSBaseException
Returns:
long - the error code

setErrorCode

public void setErrorCode(java.lang.String errorCode)

getRootException

public java.lang.Throwable getRootException()

getRootCause

public java.lang.Throwable getRootCause()
Description copied from class: CSSBaseException

Obtain the root exception, if any.

Overrides:
getRootCause in class CSSBaseException
Returns:
the root exception, or null if there is no root exception

setRootException

public void setRootException(java.lang.Throwable rootException)

toString

public java.lang.String toString()
Description copied from class: CSSBaseException

Returns the string representation.

Overrides:
toString in class CSSBaseException
Returns:
String

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream pS)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter pW)
Overrides:
printStackTrace in class java.lang.Throwable


Copyright © 2005-2009 Oracle Corporation.