|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sun.identity.shared.locale.L10NMessageImpl
com.sun.identity.plugin.log.LogException
public class LogException
This class is to handle Log related exceptions.
| Constructor Summary | |
|---|---|
LogException(Exception ex)
Constructs a LogException with an exception. |
|
LogException(String message)
Constructs a LogException with a detailed
message. |
|
LogException(String rbName,
String errorCode,
Object[] args)
Constructs a new LogException without a nested
Throwable. |
|
LogException(Throwable rootCause)
Constructs a LogException with
an embedded exception. |
|
| Constructor Detail |
|---|
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 exception
public 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 null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||