Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


oracle.security.jps
Class JpsLocalizableRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.security.jps.JpsLocalizableRuntimeException

All Implemented Interfaces:
java.io.Serializable, Localizable
Direct Known Subclasses:
JpsRuntimeException

public class JpsLocalizableRuntimeException
extends java.lang.RuntimeException
implements Localizable
See Also:
Serialized Form

Constructor Summary
JpsLocalizableRuntimeException()
          Default constructor.
JpsLocalizableRuntimeException(JpsBundleType bundleType, java.lang.String errorCode)
          The constructor takes resource bundle type and error code
JpsLocalizableRuntimeException(JpsBundleType bundleType, java.lang.String errorCode, java.lang.Object[] parameters)
          The constructor takes resource bundle type, error code and message parameters.
JpsLocalizableRuntimeException(java.lang.String msg)
          The constructor takes the message.
JpsLocalizableRuntimeException(java.lang.String msg, java.lang.Throwable cause)
          The constructor takes the message and cause.
JpsLocalizableRuntimeException(java.lang.Throwable cause)
          The constructor takes the cause.

 

Method Summary
 JpsBundleType getBundleType()
          Returns bundle type
 java.lang.String getErrorCode()
          Returns error code.
 java.lang.String getLocalizedMessage()
          Returns localized message according to default locale of current JVM.
 java.lang.String getLocalizedMessage(java.util.Locale locale)
          Returns localized message according to given locale.
 java.lang.String getMessage()
          Returns detail message.
 java.lang.Object[] getParameters()
          Returns message parameters.

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

JpsLocalizableRuntimeException

public JpsLocalizableRuntimeException()
Default constructor.

JpsLocalizableRuntimeException

public JpsLocalizableRuntimeException(java.lang.String msg)
The constructor takes the message.
Parameters:
msg - message

JpsLocalizableRuntimeException

public JpsLocalizableRuntimeException(java.lang.Throwable cause)
The constructor takes the cause.
Parameters:
cause - cause

JpsLocalizableRuntimeException

public JpsLocalizableRuntimeException(java.lang.String msg,
                                      java.lang.Throwable cause)
The constructor takes the message and cause.
Parameters:
msg - message
cause - cause

JpsLocalizableRuntimeException

public JpsLocalizableRuntimeException(JpsBundleType bundleType,
                                      java.lang.String errorCode)
The constructor takes resource bundle type and error code
Parameters:
bundleType - resource bundle type
errorCode - error code

JpsLocalizableRuntimeException

public JpsLocalizableRuntimeException(JpsBundleType bundleType,
                                      java.lang.String errorCode,
                                      java.lang.Object[] parameters)
The constructor takes resource bundle type, error code and message parameters.
Parameters:
bundleType - resource bundle type
errorCode - error code
parameters - message parameters

Method Detail

getErrorCode

public java.lang.String getErrorCode()
Returns error code.
Specified by:
getErrorCode in interface Localizable
Returns:
error code

getBundleType

public JpsBundleType getBundleType()
Returns bundle type
Specified by:
getBundleType in interface Localizable
Returns:
bundle type

getParameters

public java.lang.Object[] getParameters()
Returns message parameters.
Specified by:
getParameters in interface Localizable
Returns:
message parameters.

getMessage

public java.lang.String getMessage()
Returns detail message.
Overrides:
getMessage in class java.lang.Throwable
Returns:
detail message

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Returns localized message according to default locale of current JVM.
Overrides:
getLocalizedMessage in class java.lang.Throwable
Returns:
localized detail message

getLocalizedMessage

public java.lang.String getLocalizedMessage(java.util.Locale locale)
Returns localized message according to given locale.
Parameters:
locale - Locale
Returns:
localized detail message against given locale

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


Copyright © 2011, Oracle. All rights reserved.