Class TApplicationException

    • Constructor Detail

      • TApplicationException

        public TApplicationException()
      • TApplicationException

        public TApplicationException​(int type)
      • TApplicationException

        public TApplicationException​(int type,
                                     java.lang.String message)
      • TApplicationException

        public TApplicationException​(java.lang.String message)
    • Method Detail

      • getType

        public int getType()
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • read

        public void read​(TProtocol iprot)
                  throws TException
        Description copied from interface: TSerializable
        Reads the TObject from the given input protocol.
        Specified by:
        read in interface TSerializable
        Parameters:
        iprot - Input protocol
        Throws:
        TException - if there is an error reading from iprot
      • readFrom

        public static TApplicationException readFrom​(TProtocol iprot)
                                              throws TException
        Convenience factory method for constructing a TApplicationException given a TProtocol input
        Parameters:
        iprot - protocol from which an instance of TApplicationException is read.
        Returns:
        an instance of TApplicationException read from iprot.
        Throws:
        TException - if there is an error reading from iprot.