Package org.pentaho.platform.api.engine

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


      } else {
        // By convention, if the solution engine encounters an exception while trying to execute and xaction,
        // the engine will stick the caught exception in the runtime context messages. Here we're looking through
        // the messages to see if an an action sequence exception was caught and stored with the messages.
        // If so we'll format and return an exception message.
        ActionSequenceException theFailureException = null;
        List theMessages = context.getMessages();
        for ( Object msg : theMessages ) {
          if ( msg instanceof ActionSequenceException ) {
            theFailureException = (ActionSequenceException) msg;
            break;
View Full Code Here


            null, false, new HashMap(), outputHandler, null, new SimpleUrlFactory( "" ), new ArrayList() );
    int status = rc.getStatus();
    if ( status == IRuntimeContext.PARAMETERS_FAIL || status == IRuntimeContext.RUNTIME_CONTEXT_RESOLVE_FAIL
        || status == IRuntimeContext.RUNTIME_STATUS_FAILURE || status == IRuntimeContext.RUNTIME_STATUS_INITIALIZE_FAIL
        || status == IRuntimeContext.RUNTIME_STATUS_SETUP_FAIL ) {
      throw new ActionSequenceException( "Action sequence failed!" );
    }
  }
View Full Code Here

      audit( MessageTypes.ACTION_SEQUENCE_FAILED, MessageTypes.EXECUTION, "", (int) ( new Date().getTime() - start ) ); //$NON-NLS-1$
      throw ex;
    } catch ( IOException ex ) {
      status = IRuntimeContext.RUNTIME_STATUS_FAILURE;
      audit( MessageTypes.ACTION_SEQUENCE_FAILED, MessageTypes.EXECUTION, "", (int) ( new Date().getTime() - start ) ); //$NON-NLS-1$
      throw new ActionSequenceException( ex );
    }
  }
View Full Code Here

TOP

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

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.