public class AuthnSvcException extends L10NMessageImpl
Constructor and Description |
---|
AuthnSvcException(String s)
Create an
AuthnSvcException with a message. |
AuthnSvcException(String rbName,
String errorCode,
Object[] args)
Constructs a new
AuthnSvcException without a nested
Throwable . |
AuthnSvcException(Throwable t)
Constructs with
Throwable object. |
public AuthnSvcException(String s)
AuthnSvcException
with a message.s
- exception message.public AuthnSvcException(Throwable t)
Throwable
object.t
- Throwable
objectpublic AuthnSvcException(String rbName, String errorCode, Object[] args)
AuthnSvcException
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-2013, ForgeRock All Rights Reserved.