org.jboss.solder.exception.control
Class ExceptionResponse
java.lang.Object
org.jboss.solder.exception.control.ExceptionResponse
public class ExceptionResponse
- extends java.lang.Object
Base class for setting up messages and responses for exceptions. This class is mutable.
|
Constructor Summary |
ExceptionResponse()
Basic constructor, needed to make the class a bean, please don't use. |
ExceptionResponse(java.lang.Class<? extends java.lang.Throwable> forType,
java.lang.String message)
Basic constructor setting all the internal state |
|
Method Summary |
java.lang.Class<? extends java.lang.Throwable> |
getForType()
|
java.lang.String |
getMessage()
|
void |
setForType(java.lang.Class<? extends java.lang.Throwable> forType)
|
void |
setMessage(java.lang.String message)
|
| 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(java.lang.Class<? extends java.lang.Throwable> forType,
java.lang.String message)
- Basic constructor setting all the internal state
- Parameters:
forType - Exception type for this instance.message - Message for the exception.
getForType
public java.lang.Class<? extends java.lang.Throwable> getForType()
setForType
public void setForType(java.lang.Class<? extends java.lang.Throwable> forType)
getMessage
public java.lang.String getMessage()
setMessage
public void setMessage(java.lang.String message)
Copyright © 2008-2012 Seam Framework. All Rights Reserved.