?? 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 + -