Example usage for com.liferay.portal.kernel.scripting ExecutionException ExecutionException

List of usage examples for com.liferay.portal.kernel.scripting ExecutionException ExecutionException

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.scripting ExecutionException ExecutionException.

Prototype

public ExecutionException() 

Source Link

Usage

From source file:org.lsug.quota.QuotaEditFileEntryAction.java

License:Open Source License

@Override
public void processAction(StrutsPortletAction originalStrutsPortletAction, PortletConfig portletConfig,
        ActionRequest actionRequest, ActionResponse actionResponse) throws Exception {

    try {//from w w  w.j  a v a2  s.  c o  m
        originalStrutsPortletAction.processAction(originalStrutsPortletAction, portletConfig, actionRequest,
                actionResponse);
    } catch (QuotaExceededException qee) {
        ExecutionException e = new ExecutionException();

        SessionErrors.add(actionRequest, e.getClass(), e);

        return;
    }
}