Skip to content

throws exceptions early, catch them late #24

@fidransky

Description

@fidransky

Example: SaveDiagram servlet always returns success even though some error occurs in database because SQLExceptions get swallowed right when they are thrown in the DB class.

Follow Throw early, catch late principle to handle errors properly.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions