package com.perforce.spark;
import java.util.HashMap;
import java.util.Map;
import spark.ModelAndView;
public class ErrorModel {
public static ModelAndView error(Exception e) {
Map<String, Object> model = new HashMap<>();
ServerError error = new ServerError(e);
model.put("error", error);
return new ModelAndView(model, "error.html");
}
}
# |
Change |
User |
Description |
Committed |
|
#2
|
15094 |
Paul Allen |
Added support for Proxy and Group. |
|
|
#1
|
14863 |
Paul Allen |
Change File/Dir browse to support extended options |
|
|
//guest/paul_allen/p4am/src/main/java/com/perforce/spark/p4depot/ErrorModel.java |
#1
|
14181 |
Paul Allen |
Lots of updates and refactoring. |
|
|