Package opendap.dap

Class BadSemanticsException

  • All Implemented Interfaces:
    Serializable

    public class BadSemanticsException
    extends DDSException
    Thrown by BaseType when the checkSemantics method is called and the variable is not valid (the name is null or some other semantic violation).
    See Also:
    BaseType, Serialized Form
    • Constructor Detail

      • BadSemanticsException

        public BadSemanticsException​(String s)
        Construct a BadSemanticsException with the specified detail message.
        Parameters:
        s - the detail message.
      • BadSemanticsException

        public BadSemanticsException​(int err,
                                     String s)
        Construct a BadSemanticsException with the specified message and OPeNDAP error code see (DAP2Exception).
        Parameters:
        err - the OPeNDAP error code.
        s - the detail message.