Examples of PipeIOException


Examples of uk.org.ogsadai.activity.io.PipeIOException

            }
            else
            {
                LOG.debug("Could not find serialiser for " +
                        block.getClass().getName());
                throw new PipeIOException(
                        new MissingSerialiserException(block));
            }
        }
    }
View Full Code Here

Examples of uk.org.ogsadai.activity.io.PipeIOException

            }
            tupleOutput.close();
        }
        catch (UnsupportedTupleTypeException e)
        {
            throw new PipeIOException(e);
        }
        catch (IOException e)
        {
            throw new PipeIOException(e);
        }
    }
View Full Code Here

Examples of uk.org.ogsadai.activity.io.PipeIOException

            // end of tuple stream
           
        }
        catch (IOException e)
        {
            throw new PipeIOException(e);
        }
        catch (UnsupportedTupleTypeException e)
        {
            throw new PipeIOException(e);
        }
    }
View Full Code Here

Examples of uk.org.ogsadai.activity.io.PipeIOException

            LOG.debug("Wrote binary data stream to file.");
            writer.write(file);
        }
        catch (IOException e)
        {
            throw new PipeIOException(e);
        }       
    }
View Full Code Here

Examples of uk.org.ogsadai.activity.io.PipeIOException

            data.writeUTF(mTransferManager.mapToGridFTP(mFile));
            output.close();
        }
        catch (IOException e)
        {
            throw new PipeIOException(e);
        }
    }
View Full Code Here

Examples of uk.org.ogsadai.activity.io.PipeIOException

            LOG.debug("File transfer completed : " + outFilename);
        }
        catch (IOException e)
        {
            e.printStackTrace();
            throw new PipeIOException(e);
        }
        catch (InterruptedException e)
        {
            e.printStackTrace();
            throw new PipeIOException(e.getCause());
        }
        catch (ExecutionException e)
        {
            e.printStackTrace();
            throw new PipeIOException(e.getCause());
        }
    }
View Full Code Here

Examples of uk.org.ogsadai.activity.io.PipeIOException

*/
public Object peek() throws PipeIOException, PipeTerminatedException
{
     if (mRaiseIOException)
     {
         throw new PipeIOException();
     }
     else if (mRaiseTerminatedException)
     {
         throw new PipeTerminatedException("MockPipe");
     }
View Full Code Here

Examples of uk.org.ogsadai.activity.io.PipeIOException

*/
public Object read() throws PipeIOException, PipeTerminatedException
{
     if (mRaiseIOException)
     {
         throw new PipeIOException();
     }
     else if (mRaiseTerminatedException)
     {
         throw new PipeTerminatedException("MockPipe");
     }
View Full Code Here

Examples of uk.org.ogsadai.activity.io.PipeIOException

                mSize--;
                return object;
            }
            catch (DataCacheException e)
            {
                throw new PipeIOException(e);
            }
            catch (NoSuchElementException e)
            {
                // this shouldn't happen - size>0 indicates there are blocks
                // in the pipe
View Full Code Here

Examples of uk.org.ogsadai.activity.io.PipeIOException

                throw new PipeClosedException();
            }
        }
        catch (DataCacheException e)
        {
            throw new PipeIOException(e);
        }
        catch (BlockTypeNotSupported e)
        {
            // this would ideally be a user error but we can't throw such an error
            throw new PipeIOException(e);
        }
    }
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.