summaryrefslogtreecommitdiff
path: root/docs/develop-guide.md
diff options
context:
space:
mode:
authordoufenghu <[email protected]>2024-01-30 19:55:23 +0800
committerdoufenghu <[email protected]>2024-01-30 19:55:23 +0800
commitf88a2c61bdafca05b24ff08ea9e3aeae84b8d389 (patch)
tree4fc91bd37df705e2f5a84203a742e4c3e8e24397 /docs/develop-guide.md
parentcfb60f30354f6ee1919b7606118b824b5b6ed0c5 (diff)
fix doc details
Diffstat (limited to 'docs/develop-guide.md')
-rw-r--r--docs/develop-guide.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/develop-guide.md b/docs/develop-guide.md
index 80fc6d1..dc8b44f 100644
--- a/docs/develop-guide.md
+++ b/docs/develop-guide.md
@@ -32,13 +32,13 @@
## How to throw an exception in Groot Stream Platform
When throwing an exception with a hint message and ensure that the exception has a smaller scope. You can create a custom exception class that include error code and message parameter in its constructor. For example, if you encounters a checked exception `ClassNotFoundException` while dynamic class loading,a reasonable approach would be to the following:
-```java
+```
try {
// Class.forname
} catch (ClassNotFoundException e) {
throw GrootStreamBootstrapException("Missing class or incorrect classpath", e);
}
- ```
+```
## Design Principles