public class UpgradeException extends L10NMessageImpl
Constructor and Description |
---|
UpgradeException(String message)
Constructs a new
UpgradeException with the given
message. |
UpgradeException(String rbName,
String errorCode,
Object[] args)
Constructs a new
UpgradeException without a nested
Throwable . |
UpgradeException(String message,
Throwable cause)
Constructs a new
UpgradeException with the given message and init cause. |
UpgradeException(Throwable t)
Constructs an
UpgradeException with given
Throwable . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UpgradeException(String rbName, String errorCode, Object[] args)
UpgradeException
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 nullpublic UpgradeException(String message)
UpgradeException
with the given
message.message
- message for this exception. This message can be later
retrieved by getMessage()
method.public UpgradeException(Throwable t)
UpgradeException
with given
Throwable
.t
- Exception nested in the new exception.Copyright © 2010-2018, ForgeRock All Rights Reserved.