All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jvault.exceptions.DisallowedAccessException Maven / Gradle / Ivy

package org.jvault.exceptions;


/**
 * Thrown when, a package or class that is not included in @InternalBean's accesses tries to receive bean injection,
* or when a package that is not included in Vault's accesses is passed as a parameter of the Vault. * * @author devxb * @since 0.1 */ public final class DisallowedAccessException extends RuntimeException{ public DisallowedAccessException(String target, String accessInfo){ super("Can not access \"" + target + "\" cause \"" + target + "\" did not allow access package or classes \"" + accessInfo + "\""); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy