From 5387d9ee88ba9a8dded543d233b82980ee25cb8b Mon Sep 17 00:00:00 2001
From: Andrea Burattin <andrea.burattin@gmail.com>
Date: Wed, 16 Mar 2022 08:39:32 +0100
Subject: [PATCH] Fixed javadoc with new exception

---
 src/main/java/beamline/sources/Source.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/beamline/sources/Source.java b/src/main/java/beamline/sources/Source.java
index cfdaf01..5c0772f 100644
--- a/src/main/java/beamline/sources/Source.java
+++ b/src/main/java/beamline/sources/Source.java
@@ -28,9 +28,9 @@ public interface Source<T> {
 	 * This method is supposed to be called before the {@link #getObservable()}
 	 * one: it is in charge of preparing the source to be processed.
 	 * 
-	 * @throws Exception while preparing the source, it is important to be aware
-	 * that some sources may generate specific exceptions (e.g., file not found,
-	 * network problems).
+	 * @throws SourceException while preparing the source, it is important to be
+	 * aware that some sources may generate specific exceptions (e.g., file not
+	 * found, network problems).
 	 */
 	public void prepare() throws SourceException;
 }
-- 
GitLab