Package org.pentaho.platform.api.engine

Examples of org.pentaho.platform.api.engine.ActionInitializationException


       * We need to catch checked and unchecked exceptions here so we can create an ActionSequeceException with
       * contextual information, including the root cause. Allowing unchecked exceptions to pass through would
       * prevent valuable feedback in the log or response.
       */
    } catch ( Throwable t ) {
      throw new ActionInitializationException( Messages.getInstance().getErrorString(
          "RuntimeContext.ERROR_0016_COMPONENT_INITIALIZE_FAILED" ), t, //$NON-NLS-1$
          session.getName(), instanceId, getActionSequence().getSequenceName(), component.getActionDefinition() );
    }

    if ( !initResult ) {
      status = IRuntimeContext.RUNTIME_STATUS_INITIALIZE_FAIL;
      audit( MessageTypes.COMPONENT_EXECUTE_FAILED, MessageTypes.VALIDATION, Messages.getInstance().getErrorString(
          "RuntimeContext.ERROR_0016_COMPONENT_INITIALIZE_FAILED" ), 0 ); //$NON-NLS-1$
      if ( doneListener != null ) {
        doneListener.actionComplete( this );
      }
      throw new ActionInitializationException( Messages.getInstance().getErrorString(
          "RuntimeContext.ERROR_0016_COMPONENT_INITIALIZE_FAILED" ), //$NON-NLS-1$
          session.getName(), instanceId, getActionSequence().getSequenceName(), component.getActionDefinition() );
    }

    try {
View Full Code Here

TOP

Related Classes of org.pentaho.platform.api.engine.ActionInitializationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.