org.springframework.integration.http
Class ResponseStatusCodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.springframework.integration.http.ResponseStatusCodeException
All Implemented Interfaces:
java.io.Serializable

public class ResponseStatusCodeException
extends java.lang.Exception

Exception that provides a response status code. This can be used by InboundRequestMapper implementations to indicate an error.

Since:
1.0.2
Author:
Mark Fisher
See Also:
Serialized Form

Constructor Summary
ResponseStatusCodeException(int statusCode)
           
 
Method Summary
 int getStatusCode()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

ResponseStatusCodeException

public ResponseStatusCodeException(int statusCode)
Method Detail

getStatusCode

public int getStatusCode()