전체 글 (23) 썸네일형 리스트형 드론/무인멀티콥터 4종 취득 혹시 몰라서 취득했다. 4종을 보유하고 있어야 250g 초과 2kg 이하의 드론을 비행할 수 있다. 수료증이 없으면 250이하의 드론만 비행할 수 있다. (참고로 매빅 미니는 249g 이다.) 장소 : 온라인(한국교통안전공단 배움터 : https://edu.kotsa.or.kr) 방법 : 총 6시간 분량의 7개의 영상을 시청한 후 평가에서 70이상 맞으면 수료증을 받을 수 있다. Spring AOP ( annotation 활용) [Class] @Aspect [Method] @PointCut 표현식 예제 참고 사이트) https://docs.spring.io/spring-framework/docs/2.5.x/reference/aop.html @Before : 이전 @After : 이후 @AfterReturning : 정상적 반환 이후 @AfterThrowing : 예외 발생 이후 @Around : 메소드 실행 전후 어노테이션을 이용한 AOP 적용 예제 package com.example.aop.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolic.. Spring Exception [Class] @ControllerAdvice or @RestControllerAdvice value basePackages basePackageClasses assignableTypes annotations [Method] @ExceptionHandler value @ResponseStatus ... @RestControllerAdvice public class GlobalControllerAdvice { 예제 1) @ExceptionHandler(value = Exception.class) public ResponseEntity 메서드명a(Exception e){ ... return ResponseEntity.status(HttpStatus.코드).body(내용); } 예제 2) @ExceptionH.. 이전 1 2 3 4 5 6 7 8 다음