Examples of ActivityProcessingException


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

Examples of uk.org.ogsadai.activity.ActivityProcessingException

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

Examples of uk.org.ogsadai.activity.ActivityProcessingException

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

Examples of uk.org.ogsadai.activity.ActivityProcessingException

                    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

Examples of uk.org.ogsadai.activity.ActivityProcessingException

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

Examples of uk.org.ogsadai.activity.ActivityProcessingException

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

Examples of uk.org.ogsadai.activity.ActivityProcessingException

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

Examples of uk.org.ogsadai.activity.ActivityProcessingException

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

Examples of uk.org.ogsadai.activity.ActivityProcessingException

              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

Examples of uk.org.ogsadai.activity.ActivityProcessingException

      {
          return reader.read();
      }
      catch (PipeIOException e)
      {
          throw new ActivityProcessingException(e);
      }
      catch (PipeTerminatedException e)
      {
          throw new ActivityTerminatedException();
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.