-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd1a8c8
commit 961fedf
Showing
6 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
backend/src/main/java/com/isp/backend/global/exception/flight/FlightNotFoundException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.isp.backend.global.exception.flight; | ||
|
||
import com.isp.backend.global.exception.CustomException; | ||
import com.isp.backend.global.exception.ErrorCode; | ||
|
||
public class FlightNotFoundException extends CustomException { | ||
|
||
public FlightNotFoundException() {super(ErrorCode.FLIGHT_NOT_FOUND);} | ||
|
||
} |
12 changes: 12 additions & 0 deletions
12
...nd/src/main/java/com/isp/backend/global/exception/flight/FlightSearchFailedException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.isp.backend.global.exception.flight; | ||
|
||
import com.isp.backend.global.exception.CustomException; | ||
import com.isp.backend.global.exception.ErrorCode; | ||
|
||
public class FlightSearchFailedException extends CustomException { | ||
|
||
public FlightSearchFailedException() { | ||
super(ErrorCode.FLIGHT_SEARCH_FAILED); | ||
} | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
backend/src/main/java/com/isp/backend/global/exception/flight/NotYourFlightException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.isp.backend.global.exception.flight; | ||
|
||
import com.isp.backend.global.exception.CustomException; | ||
import com.isp.backend.global.exception.ErrorCode; | ||
|
||
public class NotYourFlightException extends CustomException { | ||
|
||
public NotYourFlightException() { | ||
super(ErrorCode.NOT_YOUR_FLIGHT); | ||
} | ||
|
||
} | ||
|
||
|
12 changes: 12 additions & 0 deletions
12
.../main/java/com/isp/backend/global/exception/flight/SkyScannerGenerateFailedException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.isp.backend.global.exception.flight; | ||
|
||
import com.isp.backend.global.exception.CustomException; | ||
import com.isp.backend.global.exception.ErrorCode; | ||
|
||
public class SkyScannerGenerateFailedException extends CustomException { | ||
|
||
public SkyScannerGenerateFailedException() { | ||
super(ErrorCode.SKY_SCANNER_GENERATE_FAILED); | ||
} | ||
|
||
} |
12 changes: 12 additions & 0 deletions
12
...nd/src/main/java/com/isp/backend/global/exception/schedule/IataCodeNotFoundException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.isp.backend.global.exception.schedule; | ||
|
||
import com.isp.backend.global.exception.CustomException; | ||
import com.isp.backend.global.exception.ErrorCode; | ||
|
||
public class IataCodeNotFoundException extends CustomException { | ||
|
||
public IataCodeNotFoundException() { | ||
super(ErrorCode.IATA_CODE_NOT_FOUND); | ||
} | ||
|
||
} |