📄 exceptiondisplaydto.java
字号:
package org.expframework.data;
/**
* Contains the details of ActionForward name and context detail (for context
* sensitive exceptions).
*
* @author ShriKant
* @version 1.0
*/
public class ExceptionDisplayDTO {
String context;
String actionForwardName;
/**
* Creates a ExceptionDisplayDTO with name and context params
*
* @param name
* ActionForward name to forward for exception cases
* @param context
* used for context-sensitive exceptions
*
*/
public ExceptionDisplayDTO(String name, String context) {
super();
actionForwardName = name;
this.context = context;
}
/**
* Returns the actionForwardName
*
* @return String
*/
public String getActionForwardName() {
return actionForwardName;
}
/**
* Sets the actionForwardName
*
* @param actionForwardName
* The actionForwardName to set.
*/
public void setActionForwardName(String actionForwardName) {
this.actionForwardName = actionForwardName;
}
/**
* Returns the context
*
* @return String
*/
public String getContext() {
return context;
}
/**
* Sets the context
*
* @param context
* The context to set.
*/
public void setContext(String context) {
this.context = context;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -