Skip to content

Clarify Information About DataAccessException in Phase 3 Spec #359

@hkamm123

Description

@hkamm123

The section about DataAccessException in the phase 3 spec has some misleading phrases that may cause students to believe that they should be extending or throwing it for the wrong reasons. If we make this section a little clearer, students might be inclined to follow better design practices with exceptions in their phase 3 implementation.

Main points we should include:

  • DataAccessException is only meant to be thrown by DAO classes (for example, in the event of a SQLException)
  • Students are encouraged to create their own exceptions, but to remember the principles of inheritance when considering making subclasses of DataAccessException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions