Subversion Repositories SmartDukaan

Rev

Rev 2148 | Rev 5112 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2148 Rev 5077
Line 4... Line 4...
4
package in.shop2020.serving.controllers;
4
package in.shop2020.serving.controllers;
5
 
5
 
6
 
6
 
7
import java.io.IOException;
7
import java.io.IOException;
8
 
8
 
-
 
9
import org.apache.log4j.Logger;
-
 
10
 
9
/**
11
/**
10
 * 
12
 * 
11
 * @author Vikas
13
 * @author Vikas
12
 *
14
 *
13
 */
15
 */
14
 
16
 
15
 
17
 
16
public class ExceptionController extends BaseController {
18
public class ExceptionController extends BaseController {
17
	
19
	
18
	private static final long serialVersionUID = 6095443616072298613L;
20
	private static final long serialVersionUID = 6095443616072298613L;
-
 
21
	private static Logger log = Logger.getLogger(ExceptionController.class);
19
	
22
 
20
	public ExceptionController(){
23
	public ExceptionController(){
21
		super();
24
		super();
22
	}
25
	}
23
 
26
 
24
	public String index() throws SecurityException, IOException {
27
	public String index() throws SecurityException, IOException {
-
 
28
		log.error("Exception page displayed to user with details: " + userinfo);
25
    	return "success";
29
    	return "success";
26
    }
30
    }
27
}
31
}