@Deprecated public class LogException extends L10NMessageImpl
Constructor and Description |
---|
LogException(Exception ex)
Deprecated.
Constructs a
LogException with an exception. |
LogException(String message)
Deprecated.
Constructs a
LogException with a detailed
message. |
LogException(String rbName,
String errorCode,
Object[] args)
Deprecated.
Constructs a new
LogException without a nested
Throwable . |
LogException(Throwable rootCause)
Deprecated.
Constructs a
LogException with
an embedded exception. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LogException(String message)
LogException
with a detailed
message.message
- detailed message for this exception.public LogException(Throwable rootCause)
LogException
with
an embedded exception.rootCause
- An embedded exceptionpublic LogException(Exception ex)
LogException
with an exception.ex
- an exceptionpublic LogException(String rbName, String errorCode, Object[] args)
LogException
without a nested
Throwable
.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 nullCopyright © 2010-2018, ForgeRock All Rights Reserved.