From 964f6bc0288a54040f764369aff627ab9d51b455 Mon Sep 17 00:00:00 2001 From: WarL0ck Date: Sat, 2 Dec 2017 16:04:20 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D0=B0=D0=BB=D0=B8=D0=B7=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D1=8F=20exception?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/workspace.xml | 384 ++++++++++-------- .../ru/cft/task/restServer/EmailBook.java | 64 +-- .../task/restServer/EmailBookController.java | 54 ++- .../cft/task/restServer/EmailException.java | 13 + .../ru/cft/task/restServer/EmailRecord.java | 2 +- .../ru/cft/task/restServer/ErrorResponse.java | 22 + src/main/resources/application.properties | 2 +- src/main/resources/banner.txt | 4 + 8 files changed, 349 insertions(+), 196 deletions(-) create mode 100644 src/main/java/ru/cft/task/restServer/EmailException.java create mode 100644 src/main/java/ru/cft/task/restServer/ErrorResponse.java create mode 100644 src/main/resources/banner.txt diff --git a/.idea/workspace.xml b/.idea/workspace.xml index da426b7..686aa82 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,49 +2,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - + @@ -122,21 +87,11 @@ - - - - - - - - - - - - + + @@ -146,42 +101,48 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - + + - + + + + + + + + + + + - - + + + + @@ -192,8 +153,8 @@ @@ -212,9 +173,12 @@