com.atlassian.core.action
Class ActionUtils

java.lang.Object
  extended by com.atlassian.core.action.ActionUtils

Deprecated. This will die when backend actions die - see CoreFactory.getActionDispatcher(). Since v5.0.

public class ActionUtils
extends Object

This was taken from atlassian-webwork1 and placed into its now rightful home of JIRA.

Since:
4.3

Constructor Summary
ActionUtils()
          Deprecated.  
 
Method Summary
static void checkForErrors(webwork.dispatcher.ActionResult aResult)
          Deprecated. 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
 

Constructor Detail

ActionUtils

public ActionUtils()
Deprecated. 
Method Detail

checkForErrors

public static void checkForErrors(webwork.dispatcher.ActionResult aResult)
                           throws Exception
Deprecated. 
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-2012 Atlassian. All Rights Reserved.