1 /* 2 * This file is a part of CAST project. 3 * (c) Copyright 2007, AGH University of Science & Technology 4 * https://caribou.iisg.agh.edu.pl/trac/cast 5 * 6 * Licensed under the Eclipse Public License, Version 1.0 (the "License"). 7 * You may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * http://www.eclipse.org/legal/epl-v10.html 10 */ 11 /* 12 * File: PropertyAnnotationException.java 13 * Created: 2009-03-16 14 * Author: tmilos 15 * $Id: PropertyAnnotationException.java 2953 2009-06-04 08:47:16Z tmilos $ 16 */ 17 18 package pl.edu.agh.cast.data.model.property.annotation; 19 20 /** 21 * Exception related to property annotation processing. 22 * 23 * @author AGH CAST Team 24 */ 25 public class PropertyAnnotationException extends RuntimeException { 26 27 /** 28 * Serial version UID. 29 */ 30 private static final long serialVersionUID = -5132704648443717613L; 31 32 /** 33 * Empty constructor. 34 */ 35 public PropertyAnnotationException() { 36 super(); 37 } 38 39 /** 40 * Constructor. 41 * 42 * @param message 43 * message 44 */ 45 public PropertyAnnotationException(String message) { 46 super(message); 47 } 48 49 /** 50 * Constructor. 51 * 52 * @param cause 53 * {@link Throwable} that caused this exception 54 */ 55 public PropertyAnnotationException(Throwable cause) { 56 super(cause); 57 } 58 59 /** 60 * Constructor. 61 * 62 * @param message 63 * message 64 * @param cause 65 * {@link Throwable} that caused this exception 66 */ 67 public PropertyAnnotationException(String message, Throwable cause) { 68 super(message, cause); 69 } 70 71 }