|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.springframework.extensions.surf.exception.PlatformRuntimeException org.springframework.extensions.webscripts.WebScriptException
public class WebScriptException
Web Script Exceptions.
Constructor Summary | |
---|---|
WebScriptException(int status,
String msgId)
|
|
WebScriptException(int status,
String msgId,
Object... args)
|
|
WebScriptException(int status,
String msgId,
Throwable cause)
|
|
WebScriptException(int status,
String msgId,
Throwable cause,
Object... args)
|
|
WebScriptException(String msgId)
|
|
WebScriptException(String msgId,
Object... args)
|
|
WebScriptException(String msgId,
Throwable cause)
|
|
WebScriptException(String msgId,
Throwable cause,
Object... args)
|
Method Summary | |
---|---|
int |
getStatus()
Get status code |
Map<String,Object> |
getStatusModel()
Get status model |
StatusTemplate |
getStatusTemplate()
Get status template |
void |
setStatusTemplate(StatusTemplate statusTemplate,
Map<String,Object> statusModel)
Deprecated. |
void |
setStatusTemplateFactory(StatusTemplateFactory statusTemplateFactory)
Associates a factory for the lazy retrieval of an advanced description of the status code associated with this exception |
Methods inherited from class org.springframework.extensions.surf.exception.PlatformRuntimeException |
---|
create, create, makeRuntimeException |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WebScriptException(String msgId)
public WebScriptException(int status, String msgId)
public WebScriptException(String msgId, Throwable cause)
public WebScriptException(int status, String msgId, Throwable cause)
public WebScriptException(String msgId, Object... args)
public WebScriptException(int status, String msgId, Object... args)
public WebScriptException(String msgId, Throwable cause, Object... args)
public WebScriptException(int status, String msgId, Throwable cause, Object... args)
Method Detail |
---|
public void setStatusTemplate(StatusTemplate statusTemplate, Map<String,Object> statusModel)
template
- status templatemodel
- template modelpublic void setStatusTemplateFactory(StatusTemplateFactory statusTemplateFactory)
statusTemplateFactory
- the factory to setpublic int getStatus()
public StatusTemplate getStatusTemplate()
getStatusTemplate
in interface StatusTemplateFactory
public Map<String,Object> getStatusModel()
getStatusModel
in interface StatusTemplateFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |