diff --git a/src/main/java/beamline/sources/Source.java b/src/main/java/beamline/sources/Source.java index cfdaf01e142b79d5bbded02a471f49885126eac8..5c0772fa3f5b74c035048d0072eecd7b8824008f 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; }