org.infinispan.remoting.responses
Class ExceptionResponse

java.lang.Object
  extended by org.infinispan.remoting.responses.InvalidResponse
      extended by 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
static class ExceptionResponse.Externalizer
           
 
Constructor Summary
ExceptionResponse()
           
ExceptionResponse(Exception exception)
           
 
Method Summary
 Exception getException()
           
 void setException(Exception exception)
           
 
Methods inherited from class org.infinispan.remoting.responses.InvalidResponse
isSuccessful, isValid, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionResponse

public ExceptionResponse()

ExceptionResponse

public ExceptionResponse(Exception exception)
Method Detail

getException

public Exception getException()

setException

public void setException(Exception exception)

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.