|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.sun.identity.shared.locale.L10NMessageImpl com.sun.identity.liberty.ws.authnsvc.AuthnSvcException
public class AuthnSvcException
This class is an extension point for all Authentication Service related exceptions.
Constructor Summary | |
---|---|
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. |
Constructor Detail |
---|
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 null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |