public class AddeException extends McIDASException
AddeException
class is to handle exceptions when dealing
with ADDE access to data. More general than AddeURLException
.Constructor and Description |
---|
AddeException()
Constructs an AddeException with no specified detail message.
|
AddeException(int errorCode)
Constructs an
AddeException with an ADDE error code in place of a
detail message. |
AddeException(int errorCode,
String message)
Constructs an
AddeException with an ADDE error code and a detail
message. |
AddeException(int errorCode,
String message,
Throwable cause)
Constructs an
AddeException with an ADDE error code, detail
message, and cause. |
AddeException(int errorCode,
Throwable cause)
Constructs an
AddeException with an ADDE error code and the
cause of the exception. |
AddeException(String message)
Constructs an AddeException with the specified detail message.
|
AddeException(String message,
Throwable cause)
Constructs a
AddeException with the specified detail message
and cause. |
AddeException(Throwable cause)
Constructs an
AddeException with the specified cause. |
Modifier and Type | Method and Description |
---|---|
int |
getAddeErrorCode()
Returns the ADDE error code associated with this exception.
|
boolean |
hasAddeErrorCode()
Determine whether or not an error code has been provided for this
exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AddeException()
public AddeException(String message)
message
- The detail message.public AddeException(int errorCode)
AddeException
with an ADDE error code in place of a
detail message.errorCode
- ADDE error code.public AddeException(int errorCode, String message)
AddeException
with an ADDE error code and a detail
message.errorCode
- ADDE error code.message
- Detail message.public AddeException(int errorCode, Throwable cause)
AddeException
with an ADDE error code and the
cause of the exception.errorCode
- ADDE error code.cause
- Cause of the exception. null
indicates that the
cause is nonexistent or unknown.public AddeException(String message, Throwable cause)
AddeException
with the specified detail message
and cause.message
- Detail message.cause
- Cause of the exception. null
indicates that the
cause is nonexistent or unknown.public AddeException(int errorCode, String message, Throwable cause)
AddeException
with an ADDE error code, detail
message, and cause.errorCode
- ADDE error code.message
- Detail message.cause
- Cause of the exception. null
indicates that the
cause is nonexistent or unknown.public AddeException(Throwable cause)
AddeException
with the specified cause.cause
- Cause of the exception. null
indicates that the
cause is nonexistent or unknown.public int getAddeErrorCode()
hasAddeErrorCode()
.public boolean hasAddeErrorCode()
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.