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(java.lang.Exception exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Exception
getException()
void
setException(java.lang.Exception exception)
java.lang.String
toString()
-
Methods inherited from class org.infinispan.remoting.responses.InvalidResponse
isSuccessful, isValid
-
-
-
-
Method Detail
-
getException
public java.lang.Exception getException()
-
setException
public void setException(java.lang.Exception exception)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classInvalidResponse
-
-