| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception javax.naming.NamingException javax.naming.ReferralException
All known Subclasses: javax.naming.ldap.LdapReferralException,
ReferralException | abstract public class ReferralException extends NamingException (Code) | | A ReferralException is an abstract class used by service
providers when dealing with referral exceptions.
|
Constructor Summary | |
protected | ReferralException() Constructs a ReferralException instance with all data
initialized to null. | protected | ReferralException(String s) Constructs a ReferralException instance with the specified
message. |
Method Summary | |
abstract public Context | getReferralContext() Returns the Context where the method should be resumed
following a referral exception. | abstract public Context | getReferralContext(Hashtable, ?> h) The same as getReferralContext() except that a
Hashtable containing environment properties can be taken
to override the environment properties associated with the context that
threw this referral exception. | abstract public Object | getReferralInfo() Returns the information relating to the exception. | abstract public void | retryReferral() Retry this referral. | abstract public boolean | skipReferral() Returns true when further referral processing is outstanding. |
ReferralException | protected ReferralException()(Code) | | Constructs a ReferralException instance with all data
initialized to null.
|
ReferralException | protected ReferralException(String s)(Code) | | Constructs a ReferralException instance with the specified
message. All other fields are initialized to null.
Parameters: s - The detail message for this exception. It may be null. |
getReferralContext | abstract public Context getReferralContext() throws NamingException(Code) | | Returns the Context where the method should be resumed
following a referral exception. This should not return null.
the Context where the method should be resumedfollowing a referral exception. This should not return null. throws: NamingException - |
getReferralContext | abstract public Context getReferralContext(Hashtable, ?> h) throws NamingException(Code) | | The same as getReferralContext() except that a
Hashtable containing environment properties can be taken
to override the environment properties associated with the context that
threw this referral exception. This should not return null.
Parameters: h - the environment properties. It may be null and then behavesthe same as getReferralContext() . the Context where the method should be resumedfollowing a referral exception. This should not return null. throws: NamingException - |
getReferralInfo | abstract public Object getReferralInfo()(Code) | | Returns the information relating to the exception. This should not return
null.
the information relating to the exception. This should not returnnull. |
retryReferral | abstract public void retryReferral()(Code) | | Retry this referral.
|
skipReferral | abstract public boolean skipReferral()(Code) | | Returns true when further referral processing is outstanding.
true when further referral processing is outstanding. |
|
|
|