Package com.github.stephenc.javaisotools.loopfs.api

Examples of com.github.stephenc.javaisotools.loopfs.api.LoopFileSystemException


        boolean terminator = false;

        switch (type) {
            case TYPE_TERMINATOR:
                if (!this.hasPrimary) {
                    throw new LoopFileSystemException("No primary volume descriptor found");
                }
                terminator = true;
                break;
            case TYPE_BOOTRECORD:
                log.debug("Found boot record");
View Full Code Here


     * @throws IOException
     */
    private void validateBlockSize(byte[] descriptor) throws IOException {
        int blockSize = Util.getUInt16Both(descriptor, 129);
        if (blockSize != Constants.DEFAULT_BLOCK_SIZE) {
            throw new LoopFileSystemException("Invalid block size: " + blockSize);
        }
    }
View Full Code Here

TOP

Related Classes of com.github.stephenc.javaisotools.loopfs.api.LoopFileSystemException

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.