org.globus.mds
Class MDSException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.globus.mds.MDSException
All Implemented Interfaces:
java.io.Serializable

public class MDSException
extends java.lang.Exception

An Exception class for MDS interactions.

USING THE MDS EXEPTION CLASS

The intention of the MDS Exeption class is to provide a simple exeption mechanism for MDS related methods. This includes:
  1. failure to conect to the MDS due to timeout or other problems,
  2. failure during MDS queries,
  3. ... .
In case the Exeption is thrown by another underlaying library, it is the task of the user to properly deal with the exceptions. Such methods and exceptions can be found in JNDI and Java Networking classes.

Important Network related Exceptions

...

Important JNDI Exceptions

...

Example

See ... MDS.java

See Also:
Serialized Form

Constructor Summary
MDSException(java.lang.String mdsMessage, java.lang.String ldapMessage)
           
 
Method Summary
 java.lang.String getLdapMessage()
           
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MDSException

public MDSException(java.lang.String mdsMessage,
                    java.lang.String ldapMessage)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getLdapMessage

public java.lang.String getLdapMessage()