forked from devonfw/cobigen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devonfw#1519 Implemented requested changes
- Loading branch information
Mansour Dukhan
committed
Jun 2, 2022
1 parent
59ab6df
commit 9a860c6
Showing
9 changed files
with
60 additions
and
3 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
35 changes: 35 additions & 0 deletions
35
...c/main/java/com/devonfw/cobigen/api/exception/DeprecatedMonolithicTemplatesException.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,35 @@ | ||
package com.devonfw.cobigen.api.exception; | ||
|
||
/** | ||
* Exception that indicates that an old monolithic template structure has been found. For asking if the template | ||
* structure should be upgraded later. | ||
*/ | ||
public class DeprecatedMonolithicTemplatesException extends CobiGenRuntimeException { | ||
|
||
/** | ||
* Default serial version UID. | ||
*/ | ||
private static final long serialVersionUID = 1; | ||
|
||
/** | ||
* The constructor. | ||
* | ||
* @param message informative message describing the exception or where it has been occurred | ||
* @param cause originating this exception | ||
*/ | ||
public DeprecatedMonolithicTemplatesException(String message, Throwable cause) { | ||
|
||
super(message, cause); | ||
} | ||
|
||
/** | ||
* The constructor. | ||
* | ||
* Creates a new {@link DeprecatedMonolithicTemplatesException} with a proper notification message | ||
*/ | ||
public DeprecatedMonolithicTemplatesException() { | ||
|
||
super("You Are using an old Templates Configuration, please consider to upgrade your templates! Thank You!"); | ||
} | ||
|
||
} |
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