Class ExceptionResponse
- java.lang.Object
-
- org.infinispan.remoting.responses.InvalidResponse
-
- org.infinispan.remoting.responses.ExceptionResponse
-
- All Implemented Interfaces:
Response
public class ExceptionResponse extends InvalidResponse
A response that encapsulates an exception- Since:
- 4.0
- Author:
- Manik Surtani
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExceptionResponse.Externalizer
-
Constructor Summary
Constructors Constructor Description ExceptionResponse()
ExceptionResponse(Exception exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Exception
getException()
void
setException(Exception exception)
String
toString()
-
Methods inherited from class org.infinispan.remoting.responses.InvalidResponse
isSuccessful, isValid
-
-
-
-
Constructor Detail
-
ExceptionResponse
public ExceptionResponse()
-
ExceptionResponse
public ExceptionResponse(Exception exception)
-
-
Method Detail
-
getException
public Exception getException()
-
setException
public void setException(Exception exception)
-
toString
public String toString()
- Overrides:
toString
in classInvalidResponse
-
-