org.springframework.web.client

Class ResourceAccessException

  • All Implemented Interfaces:
    java.io.Serializable


    public class ResourceAccessException
    extends RestClientException
    Exception thrown when an I/O error occurs.
    Since:
    3.0
    Author:
    Arjen Poutsma
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      ResourceAccessException(java.lang.String msg)
      Construct a new ResourceAccessException with the given message.
      ResourceAccessException(java.lang.String msg, java.io.IOException ex)
      Construct a new ResourceAccessException with the given message and IOException.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ResourceAccessException

        public ResourceAccessException(java.lang.String msg)
        Construct a new ResourceAccessException with the given message.
        Parameters:
        msg - the message
      • ResourceAccessException

        public ResourceAccessException(java.lang.String msg,
                                       java.io.IOException ex)
        Construct a new ResourceAccessException with the given message and IOException.
        Parameters:
        msg - the message
        ex - the IOException