Package com.sun.identity.plugin.log
Class LogException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.identity.shared.locale.L10NMessageImpl
-
- com.sun.identity.plugin.log.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 Summary
Constructors Constructor Description LogException(Exception ex)
Deprecated.Constructs aLogException
with an exception.LogException(String message)
Deprecated.Constructs aLogException
with a detailed message.LogException(String rbName, String errorCode, Object[] args)
Deprecated.Constructs a newLogException
without a nestedThrowable
.LogException(Throwable rootCause)
Deprecated.Constructs aLogException
with an embedded exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
LogException
public LogException(String message)
Deprecated.Constructs aLogException
with a detailed message.- Parameters:
message
- detailed message for this exception.
-
LogException
public LogException(Throwable rootCause)
Deprecated.Constructs aLogException
with an embedded exception.- Parameters:
rootCause
- An embedded exception
-
LogException
public LogException(Exception ex)
Deprecated.Constructs aLogException
with an exception.- Parameters:
ex
- an exception
-
LogException
public LogException(String rbName, String errorCode, Object[] args)
Deprecated.Constructs a newLogException
without a nestedThrowable
.- Parameters:
rbName
- Resource Bundle Name to be used for getting localized error message.errorCode
- Key to resource bundle. You can useResourceBundle rb = ResourceBunde.getBundle (rbName,locale); String localizedStr = rb.getString(errorCode);
args
- arguments to message. If it is not present pass them as null
-
-