Package org.jaudiotagger.audio.exceptions

Examples of org.jaudiotagger.audio.exceptions.NullBoxIdException


        //Calculate box id
        this.id = Utils.getString(b, IDENTIFIER_POS, IDENTIFIER_LENGTH, "ISO-8859-1");
//
        //logger.finest("Mp4BoxHeader id:" + id + ":length:" + length);
        if (id.equals("\0\0\0\0")) {
            throw new NullBoxIdException(ErrorMessage.MP4_UNABLE_TO_FIND_NEXT_ATOM_BECAUSE_IDENTIFIER_IS_INVALID.getMsg(id));
        }

        if (length < HEADER_LENGTH) {
            throw new InvalidBoxHeaderException(ErrorMessage.MP4_UNABLE_TO_FIND_NEXT_ATOM_BECAUSE_IDENTIFIER_IS_INVALID.getMsg(id, length));
        }
View Full Code Here

TOP

Related Classes of org.jaudiotagger.audio.exceptions.NullBoxIdException

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.