Package com.totalchange.jizz.services

Examples of com.totalchange.jizz.services.JizzTooManySongsException


        logger.trace("Uploading song for DJ {} and broadcast {}", dj, broadcast);

        if (getHowManySongsDjCanSubmit(dj, broadcast,
                getSongsForBroadcast(dj, broadcast)) <= 0) {
            logger.info("DJ {} is trying to upload too many songs", dj);
            throw new JizzTooManySongsException("DJ " + dj
                    + " is trying to upload too many songs");
        }

        if (broadcast.isFinalised()) {
            logger.info("DJ {} is trying to upload to a finalised broadcast",
                    dj);
            throw new JizzTooManySongsException("DJ " + dj
                    + " is trying to upload to a finalised broadcast "
                    + broadcast);
        }

        logger.trace("Committing blob for song");
View Full Code Here

TOP

Related Classes of com.totalchange.jizz.services.JizzTooManySongsException

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.