Package uk.org.ogsadai.activity

Examples of uk.org.ogsadai.activity.ActivityProcessingException


            output.close();
            result.write(ControlBlock.LIST_END);
        }
        catch (IOException e)
        {
            throw new ActivityProcessingException(e);
        }
        catch (PipeIOException e)
        {
            throw new ActivityProcessingException(e);
        }
        catch (PipeTerminatedException e)
        {
            throw new ActivityTerminatedException();
        }
View Full Code Here


        {
            iterativeStageComplete();
        }
        catch (PipeIOException e)
        {
            throw new ActivityProcessingException(e);
        }
        catch (PipeTerminatedException e)
        {
            throw new ActivityTerminatedException();
        }
View Full Code Here

        {
            iterativeStageComplete();
        }
        catch (PipeIOException e)
        {
            throw new ActivityProcessingException(e);
        }
        catch (PipeTerminatedException e)
        {
            throw new ActivityTerminatedException();
        }
View Full Code Here

                    ObjectInputStream obj = (ObjectInputStream) block;
                    ObjectSerialiser ser = mSerialisers.getSerialiser(obj.getType());
                    if (ser == null)
                    {
                        LOG.debug("No serialiser for type: " + obj.getType());
                        throw new ActivityProcessingException(
                                new MissingSerialiserException(obj.getType()));
                    }
                    ser.deserialise(obj.getInput(), result);
                }
                else
                {
                    result.write(block);
                }
            }
           

        }
        catch (EOFException e)
        {
            // end of binary stream
        }
        catch (IOException e)
        {
            throw new ActivityProcessingException(e);
        }
        catch (PipeClosedException e)
        {
            // consumer wants no more data
        }
        catch (PipeIOException e)
        {
            throw new ActivityProcessingException(e);
        }
        catch (PipeTerminatedException e)
        {
            throw new ActivityTerminatedException();
        }
View Full Code Here

        {
            iterativeStageComplete();
        }
        catch (PipeIOException e)
        {
            throw new ActivityProcessingException(e);
        }
        catch (PipeTerminatedException e)
        {
            throw new ActivityTerminatedException();
        }
View Full Code Here

        {
            iterativeStageComplete();
        }
        catch (PipeIOException e)
        {
            throw new ActivityProcessingException(e);
        }
        catch (PipeTerminatedException e)
        {
            throw new ActivityTerminatedException();
        }
View Full Code Here

      catch(PipeTerminatedException exc) {
        throw new ActivityTerminatedException();
      }
      catch(PipeIOException exc) {
        throw new ActivityProcessingException(exc);
      }
      catch (PipeClosedException exc)
          {
              iterativeStageComplete();
          }
View Full Code Here

            throw new ActivityTerminatedException();
        }
        catch (Exception e)
        {
          e.printStackTrace();
            throw new ActivityProcessingException(e);
        }
    }
View Full Code Here

              mOutput.write(c.convert(new PrintWriter(result)).toCharArray());
              mOutput.write(ControlBlock.LIST_END);
             
          }
          catch (ClassCastException e) {
            throw new ActivityProcessingException(e);
          }
          catch (PipeClosedException e)
          {
              iterativeStageComplete();
          }
          catch (PipeIOException e)
          {
              throw new ActivityProcessingException(e);
          }
          catch (PipeTerminatedException e)
          {
              throw new ActivityTerminatedException();
          }
View Full Code Here

      {
          return reader.read();
      }
      catch (PipeIOException e)
      {
          throw new ActivityProcessingException(e);
      }
      catch (PipeTerminatedException e)
      {
          throw new ActivityTerminatedException();
      }
View Full Code Here

TOP

Related Classes of uk.org.ogsadai.activity.ActivityProcessingException

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.