Documentation of 'edu.wisc.ssec.mcidas.adde.AddeException' Java class
AddeException
edu.wisc.ssec.mcidas.adde

Class AddeException

  • All Implemented Interfaces:
    java.io.Serializable


    public class AddeException
    extends McIDASException
    AddeException class is to handle exceptions when dealing with ADDE access to data. More general than AddeURLException.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      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, java.lang.String message)
      Constructs an AddeException with an ADDE error code and a detail message.
      AddeException(int errorCode, java.lang.String message, java.lang.Throwable cause)
      Constructs an AddeException with an ADDE error code, detail message, and cause.
      AddeException(int errorCode, java.lang.Throwable cause)
      Constructs an AddeException with 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 a AddeException with the specified detail message and cause.
      AddeException(java.lang.Throwable cause)
      Constructs an AddeException with the specified cause.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 an AddeException with 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 an AddeException with 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 an AddeException with an ADDE error code and the cause of the exception.
        Parameters:
        errorCode - ADDE error code.
        cause - Cause of the exception. null indicates that the cause is nonexistent or unknown.
      • AddeException

        public AddeException(java.lang.String message,
                             java.lang.Throwable cause)
        Constructs a AddeException with the specified detail message and cause.
        Parameters:
        message - Detail message.
        cause - Cause of the exception. null indicates that the cause is nonexistent or unknown.
      • AddeException

        public AddeException(int errorCode,
                             java.lang.String message,
                             java.lang.Throwable cause)
        Constructs an AddeException with an ADDE error code, detail message, and cause.
        Parameters:
        errorCode - ADDE error code.
        message - Detail message.
        cause - Cause of the exception. null indicates that the cause is nonexistent or unknown.
      • AddeException

        public AddeException(java.lang.Throwable cause)
        Constructs an AddeException with the specified cause.
        Parameters:
        cause - Cause of the exception. null indicates 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 via hasAddeErrorCode().
        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

You see the box below because you did not login.