-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix openpai generation bug when api has only one exception
- Loading branch information
1 parent
9571cf2
commit ab36bab
Showing
7 changed files
with
60 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
allprojects { | ||
group = "org.babyfish.jimmer" | ||
version = "0.8.76" | ||
version = "0.8.77" | ||
} |
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
25 changes: 25 additions & 0 deletions
25
...er-client/src/test/java/org/babyfish/jimmer/client/java/service/DepthTooBigException.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,25 @@ | ||
package org.babyfish.jimmer.client.java.service; | ||
|
||
import org.babyfish.jimmer.error.CodeBasedException; | ||
import org.babyfish.jimmer.internal.ClientException; | ||
|
||
@ClientException(code = "DEPTH_TOO_BIG") | ||
public class DepthTooBigException extends CodeBasedException { | ||
|
||
private final int maxDepth; | ||
|
||
private final int currentDepth; | ||
|
||
public DepthTooBigException(int maxDepth, int currentDepth) { | ||
this.maxDepth = maxDepth; | ||
this.currentDepth = currentDepth; | ||
} | ||
|
||
public int getMaxDepth() { | ||
return maxDepth; | ||
} | ||
|
||
public int getCurrentDepth() { | ||
return currentDepth; | ||
} | ||
} |
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