mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-15 00:17:42 +00:00
docs: add diagrams for marker interface, master-worker, mediator, memento, metadata mapping, microservices api gateway, microservices log aggregation, monad, monitor, monostate, multiton, mute idiom
This commit is contained in:
1 parent
72eeb167c5
commit
8d5cb59388
24 files changed
+48
-4
No files matched your search
@@ -34,6 +34,10 @@ In plain words
|
||||
|
||||
> The Mute Idiom design pattern suppresses the handling of trivial or non-critical exceptions to simplify code.
|
||||
|
||||
Flowchart
|
||||
|
||||

|
||||
|
||||
## Programmatic Example of Mute Idiom Pattern in Java
|
||||
|
||||
In the following Java code example, we demonstrate the Mute Idiom by muting non-critical exceptions during the resource management process. This approach ensures error handling does not interrupt the main logic.
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 51 KiB |
Reference in new issue
Block a user