-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add specific exception indicating wrong curationDataSelector (#205)
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
.../componentinfo/curation/ComponentInfoAdapterNonExistingCurationDataSelectorException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package com.devonfw.tools.solicitor.componentinfo.curation; | ||
|
||
import com.devonfw.tools.solicitor.componentinfo.ComponentInfoAdapterException; | ||
|
||
/** | ||
* This exception is thrown when an attempt is made to access a non-existing curation data selector when trying to | ||
* retrieve curations. | ||
* | ||
*/ | ||
public class ComponentInfoAdapterNonExistingCurationDataSelectorException extends ComponentInfoAdapterException { | ||
|
||
/** | ||
* Constructs a new ComponentInfoAdapterNonExistingCurationDataSelectorException with the specified detail message. | ||
* | ||
* @param message the detail message (which is saved for later retrieval by the getMessage() method). | ||
*/ | ||
public ComponentInfoAdapterNonExistingCurationDataSelectorException(String message) { | ||
|
||
super(message); | ||
} | ||
|
||
/** | ||
* Constructs a new ComponentInfoAdapterNonExistingCurationDataSelectorException with the specified detail message and | ||
* a nested Throwable cause. | ||
* | ||
* @param message the detail message (which is saved for later retrieval by the getMessage() method). | ||
* @param cause the nested cause Throwable (which is saved for later retrieval by the getCause() method). | ||
*/ | ||
public ComponentInfoAdapterNonExistingCurationDataSelectorException(String message, Throwable cause) { | ||
|
||
super(message, cause); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters