org.enhydra.dods
Class DODSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.enhydra.dods.exceptions.DodsBaseException
org.enhydra.dods.DODSException
- All Implemented Interfaces:
- java.io.Serializable
public class DODSException
- extends DodsBaseException
- See Also:
- Serialized Form
Constructor Summary |
DODSException(java.lang.String msg)
Construct a exception without a specified cause. |
DODSException(java.lang.String msg,
java.lang.Throwable cause)
Construct a exception with an associated causing exception. |
DODSException(java.lang.Throwable cause)
Construct a exception with a specified cause. |
Method Summary |
java.lang.String |
getLocalizedMessage()
Creates a localized description of this Exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DODSException
public DODSException(java.lang.String msg)
- Construct a exception without a specified cause.
- Parameters:
msg
- The message associated with the exception.
DODSException
public DODSException(java.lang.Throwable cause)
- Construct a exception with a specified cause.
- Parameters:
cause
- The error or exception that cause this
exception.
DODSException
public DODSException(java.lang.String msg,
java.lang.Throwable cause)
- Construct a exception with an associated causing exception.
- Parameters:
msg
- The message associated with the exception.cause
- The error or exception that cause this
exception.
getLocalizedMessage
public java.lang.String getLocalizedMessage()
- Creates a localized description of this Exception.
- Overrides:
getLocalizedMessage
in class java.lang.Throwable
- Returns:
- the localized description of this Exception.