Package com.alexkasko.springjdbc.blob

Examples of com.alexkasko.springjdbc.blob.BlobException


    /**
     * {@inheritDoc}
     */
    @Override
    public OutputStream wrapCompress(OutputStream out) {
        if(null == out) throw new BlobException("Provided OutputStream is null");
        try {
            return wrapCompressInternal(out);
        } catch (Exception e) {
            if(e instanceof BlobException) throw (BlobException) e;
            throw new BlobException("Error on compressing", e);
        }
    }
View Full Code Here


    /**
     * {@inheritDoc}
     */
    @Override
    public InputStream wrapDecompress(InputStream in) {
        if(null == in) throw new BlobException("Provided InputStream is null");
        try {
            return wrapDecompressInternal(in);
        } catch (Exception e) {
            if(e instanceof BlobException) throw (BlobException) e;
            throw new BlobException("Error on decompressing", e);
        }
    }
View Full Code Here

TOP

Related Classes of com.alexkasko.springjdbc.blob.BlobException

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.