com.atlassian.core.action
Class ActionUtils
java.lang.Object
com.atlassian.core.action.ActionUtils
public class ActionUtils
- extends Object
This was taken from atlassian-webwork1 and placed into its now rightful home of JIRA.
- Since:
- 4.3
Method Summary |
static void |
checkForErrors(webwork.dispatcher.ActionResult aResult)
A useful method to check a result for errors. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionUtils
public ActionUtils()
checkForErrors
public static void checkForErrors(webwork.dispatcher.ActionResult aResult)
throws Exception
- A useful method to check a result for errors.
It will try to construct a useful error message and log it to log.ERROR, as well as throwing
an ActionException containing all of the error data.
- Throws:
Exception
- if any errors are detected in the result
Copyright © 2002-2011 Atlassian. All Rights Reserved.