edu.wisc.ssec.mcidas.adde
Class AddeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- edu.wisc.ssec.mcidas.McIDASException
-
- edu.wisc.ssec.mcidas.adde.AddeException
-
- All Implemented Interfaces:
- java.io.Serializable
public class AddeException extends McIDASException
AddeExceptionclass is to handle exceptions when dealing with ADDE access to data. More general thanAddeURLException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description AddeException()Constructs an AddeException with no specified detail message.AddeException(int errorCode)Constructs anAddeExceptionwith an ADDE error code in place of a detail message.AddeException(int errorCode, java.lang.String message)Constructs anAddeExceptionwith an ADDE error code and a detail message.AddeException(int errorCode, java.lang.String message, java.lang.Throwable cause)Constructs anAddeExceptionwith an ADDE error code, detail message, and cause.AddeException(int errorCode, java.lang.Throwable cause)Constructs anAddeExceptionwith an ADDE error code and the cause of the exception.AddeException(java.lang.String message)Constructs an AddeException with the specified detail message.AddeException(java.lang.String message, java.lang.Throwable cause)Constructs aAddeExceptionwith the specified detail message and cause.AddeException(java.lang.Throwable cause)Constructs anAddeExceptionwith the specified cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetAddeErrorCode()Returns the ADDE error code associated with this exception.booleanhasAddeErrorCode()Determine whether or not an error code has been provided for this exception.
-
-
-
Constructor Detail
-
AddeException
public AddeException()
Constructs an AddeException with no specified detail message.
-
AddeException
public AddeException(java.lang.String message)
Constructs an AddeException with the specified detail message.- Parameters:
message- The detail message.
-
AddeException
public AddeException(int errorCode)
Constructs anAddeExceptionwith an ADDE error code in place of a detail message.- Parameters:
errorCode- ADDE error code.
-
AddeException
public AddeException(int errorCode, java.lang.String message)Constructs anAddeExceptionwith an ADDE error code and a detail message.- Parameters:
errorCode- ADDE error code.message- Detail message.
-
AddeException
public AddeException(int errorCode, java.lang.Throwable cause)Constructs anAddeExceptionwith an ADDE error code and the cause of the exception.- Parameters:
errorCode- ADDE error code.cause- Cause of the exception.nullindicates that the cause is nonexistent or unknown.
-
AddeException
public AddeException(java.lang.String message, java.lang.Throwable cause)Constructs aAddeExceptionwith the specified detail message and cause.- Parameters:
message- Detail message.cause- Cause of the exception.nullindicates that the cause is nonexistent or unknown.
-
AddeException
public AddeException(int errorCode, java.lang.String message, java.lang.Throwable cause)Constructs anAddeExceptionwith an ADDE error code, detail message, and cause.- Parameters:
errorCode- ADDE error code.message- Detail message.cause- Cause of the exception.nullindicates that the cause is nonexistent or unknown.
-
AddeException
public AddeException(java.lang.Throwable cause)
Constructs anAddeExceptionwith the specified cause.- Parameters:
cause- Cause of the exception.nullindicates that the cause is nonexistent or unknown.
-
-
Method Detail
-
getAddeErrorCode
public int getAddeErrorCode()
Returns the ADDE error code associated with this exception. Note: you should first check for the presence of an error code viahasAddeErrorCode().- Returns:
- The ADDE error code associated with this exception.
-
hasAddeErrorCode
public boolean hasAddeErrorCode()
Determine whether or not an error code has been provided for this exception.- Returns:
- Whether or not an ADDE error code has been provided.
-
-
DMelt 3.0 © DataMelt by jWork.ORG