|
|||||||||
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.disco.DiscoveryException
public class DiscoveryException
This class is an extension point for all Discovery Service related exceptions.
Constructor Summary | |
---|---|
DiscoveryException(String s)
Creates an DiscoveryException with a message. |
|
DiscoveryException(String rbName,
String errorCode,
Object[] args)
Constructs a new DiscoveryException without a nested
Throwable . |
|
DiscoveryException(Throwable t)
Constructs with Throwable object. |
Constructor Detail |
---|
public DiscoveryException(String s)
DiscoveryException
with a message.
s
- exception message.public DiscoveryException(Throwable t)
Throwable
object.
t
- Throwable
objectpublic DiscoveryException(String rbName, String errorCode, Object[] args)
DiscoveryException
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 |