Examples of JizzTooManySongsException


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
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.