Class LogException

  • All Implemented Interfaces:
    com.sun.identity.shared.locale.L10NMessage, Serializable

    @SupportedAll
    @Deprecated
    public class LogException
    extends com.sun.identity.shared.locale.L10NMessageImpl
    Deprecated.
    This class is to handle Log related exceptions.
    See Also:
    Serialized Form
    • Constructor Detail

      • LogException

        public LogException​(String message)
        Deprecated.
        Constructs a LogException with a detailed message.
        Parameters:
        message - detailed message for this exception.
      • LogException

        public LogException​(Throwable rootCause)
        Deprecated.
        Constructs a LogException with an embedded exception.
        Parameters:
        rootCause - An embedded exception
      • LogException

        public LogException​(Exception ex)
        Deprecated.
        Constructs a LogException with an exception.
        Parameters:
        ex - an exception
      • LogException

        public LogException​(String rbName,
                            String errorCode,
                            Object[] args)
        Deprecated.
        Constructs a new LogException without a nested Throwable.
        Parameters:
        rbName - Resource Bundle Name to be used for getting localized error message.
        errorCode - Key to resource bundle. You can use
         ResourceBundle rb = ResourceBunde.getBundle (rbName,locale);
         String localizedStr = rb.getString(errorCode);
         
        args - arguments to message. If it is not present pass them as null