com.carbonfive.flash.spring
Interface RemotingExceptionFactory

All Known Implementing Classes:
ExampleExceptionFactory

public interface RemotingExceptionFactory

Interface for optional exception handling service to SpringBeanAdapter. SpringBeanAdapter will look up an implementation of this interface under the bean name "remotingExceptionFactory" and use it to create exceptions if it exists. This is most useful for creating GatewayException instances with custom message and code.


Field Summary
static java.lang.String BEAN_NAME
           
 
Method Summary
 void throwException(java.lang.Throwable t)
           
 

Field Detail

BEAN_NAME

static final java.lang.String BEAN_NAME
See Also:
Constant Field Values
Method Detail

throwException

void throwException(java.lang.Throwable t)
                    throws java.lang.Exception
Throws:
java.lang.Exception