Class ReadException

  • All Implemented Interfaces:
    Serializable

    public class ReadException
    extends Exception
    Exception that contains partial response (Text read until exception occured)
    See Also:
    Serialized Form
    • Constructor Detail

      • ReadException

        @Deprecated
        public ReadException()
        Deprecated.
        For use by test code only (serialisation tests)
      • ReadException

        public ReadException​(String message,
                             Throwable cause,
                             String partialResponse)
        Constructor
        Parameters:
        message - Message
        cause - Source cause
        partialResponse - Text read until error occured
    • Method Detail

      • getPartialResponse

        public String getPartialResponse()
        Returns:
        the partialResponse Text read until error occured