Giter Site home page Giter Site logo

예외처리 about spring-w3-7t HOT 2 OPEN

Code-Angler avatar Code-Angler commented on July 29, 2024
예외처리

from spring-w3-7t.

Comments (2)

Code-Angler avatar Code-Angler commented on July 29, 2024

토큰에서 사용한 예외처리를 서비스단에서 발생하는 예외처리에도 적용하면 좋을것같습니다.

from spring-w3-7t.

Code-Angler avatar Code-Angler commented on July 29, 2024

코드구현의 문제는 없으나 , 공부하는 단계이니 만큼

NullPointerException or IllegalArgumentException이 발생하는것에 명시적으로 사용하는기 위해서 RunTimeException 과 같은 포괄적인 의미보다, 조금 더 specific 한 의미의 예외는 어떨까요?

.orElseThrow(()-> new RuntimeException("유저를 찾지 못했습니다."));

from spring-w3-7t.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.