org.jboss.solder.exception.control
Class ExceptionResponse
java.lang.Object
org.jboss.solder.exception.control.ExceptionResponse
public class ExceptionResponse
- extends Object
Base class for setting up messages and responses for exceptions. This class is mutable.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionResponse
public ExceptionResponse()
- Basic constructor, needed to make the class a bean, please don't use.
ExceptionResponse
public ExceptionResponse(Class<? extends Throwable> forType,
String message)
- Basic constructor setting all the internal state
- Parameters:
forType
- Exception type for this instance.message
- Message for the exception.
getForType
public Class<? extends Throwable> getForType()
setForType
public void setForType(Class<? extends Throwable> forType)
getMessage
public String getMessage()
setMessage
public void setMessage(String message)
Copyright © 2011 Seam Framework. All Rights Reserved.