CMSgov/dpc-app

View on GitHub
dpc-macaroons/src/main/java/gov/cms/dpc/macaroons/exceptions/BakeryException.java

Summary

Maintainability
A
0 mins
Test Coverage
F
50%
package gov.cms.dpc.macaroons.exceptions;

/**
 * Generic exception thrown by the Bakery when something's not right.
 * // TODO: Expand this to be more general purpose
 */
public class BakeryException extends RuntimeException {
    public static final long serialVersionUID = 42L;

    public BakeryException(String message) {
        super(message);
    }

    public BakeryException(String message, Exception e) {
        super(message, e);
    }
}