MatriculaException.java

package negocio.controllers;

public class MatriculaException extends Exception {
	static class MatriculaErroneaException extends Exception {
		public MatriculaErroneaException(String errorMessage) {
			super(errorMessage);
		}
	}
	
	static class MatriculaNoCreadaException extends Exception {
		public MatriculaNoCreadaException(String errorMessage) {
	        super(errorMessage);
	    }
	}
	
	static class MatriculaNoEditadaException extends Exception {
		public MatriculaNoEditadaException(String errorMessage) {
	        super(errorMessage);
	    }
	}
	
	public static class MatriculaNoExisteException extends Exception {
		public MatriculaNoExisteException(String errorMessage) {
	        super(errorMessage);
		}
	}
}