-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
35 changed files
with
907 additions
and
65 deletions.
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
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
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
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
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
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
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
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
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
34 changes: 34 additions & 0 deletions
34
delivery/src/main/java/delivery/common/exception/goods/GoodsNotInReceivingException.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,34 @@ | ||
package delivery.common.exception.goods; | ||
|
||
import global.errorcode.ErrorCodeIfs; | ||
|
||
public class GoodsNotInReceivingException extends RuntimeException { | ||
|
||
private final ErrorCodeIfs errorCodeIfs; | ||
private final String description; | ||
|
||
public GoodsNotInReceivingException(ErrorCodeIfs errorCodeIfs) { | ||
super(errorCodeIfs.getDescription()); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorCodeIfs.getDescription(); | ||
} | ||
|
||
public GoodsNotInReceivingException(ErrorCodeIfs errorCodeIfs, String errorDescription) { | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorDescription; | ||
} | ||
|
||
public GoodsNotInReceivingException(ErrorCodeIfs errorCodeIfs, Throwable throwable) { | ||
super(throwable); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorCodeIfs.getDescription(); | ||
} | ||
|
||
public GoodsNotInReceivingException(ErrorCodeIfs errorCodeIfs, Throwable throwable, | ||
String errorDescription) { | ||
super(throwable); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorDescription; | ||
} | ||
|
||
} |
34 changes: 34 additions & 0 deletions
34
delivery/src/main/java/delivery/common/exception/goods/GoodsNotInShippingIngException.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,34 @@ | ||
package delivery.common.exception.goods; | ||
|
||
import global.errorcode.ErrorCodeIfs; | ||
|
||
public class GoodsNotInShippingIngException extends RuntimeException { | ||
|
||
private final ErrorCodeIfs errorCodeIfs; | ||
private final String description; | ||
|
||
public GoodsNotInShippingIngException(ErrorCodeIfs errorCodeIfs) { | ||
super(errorCodeIfs.getDescription()); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorCodeIfs.getDescription(); | ||
} | ||
|
||
public GoodsNotInShippingIngException(ErrorCodeIfs errorCodeIfs, String errorDescription) { | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorDescription; | ||
} | ||
|
||
public GoodsNotInShippingIngException(ErrorCodeIfs errorCodeIfs, Throwable throwable) { | ||
super(throwable); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorCodeIfs.getDescription(); | ||
} | ||
|
||
public GoodsNotInShippingIngException(ErrorCodeIfs errorCodeIfs, Throwable throwable, | ||
String errorDescription) { | ||
super(throwable); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorDescription; | ||
} | ||
|
||
} |
34 changes: 34 additions & 0 deletions
34
delivery/src/main/java/delivery/common/exception/goods/GoodsNotInStorageException.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,34 @@ | ||
package delivery.common.exception.goods; | ||
|
||
import global.errorcode.ErrorCodeIfs; | ||
|
||
public class GoodsNotInStorageException extends RuntimeException { | ||
|
||
private final ErrorCodeIfs errorCodeIfs; | ||
private final String description; | ||
|
||
public GoodsNotInStorageException(ErrorCodeIfs errorCodeIfs) { | ||
super(errorCodeIfs.getDescription()); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorCodeIfs.getDescription(); | ||
} | ||
|
||
public GoodsNotInStorageException(ErrorCodeIfs errorCodeIfs, String errorDescription) { | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorDescription; | ||
} | ||
|
||
public GoodsNotInStorageException(ErrorCodeIfs errorCodeIfs, Throwable throwable) { | ||
super(throwable); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorCodeIfs.getDescription(); | ||
} | ||
|
||
public GoodsNotInStorageException(ErrorCodeIfs errorCodeIfs, Throwable throwable, | ||
String errorDescription) { | ||
super(throwable); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorDescription; | ||
} | ||
|
||
} |
34 changes: 34 additions & 0 deletions
34
...rc/main/java/delivery/common/exception/receiving/ReceivingNotInConfirmationException.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,34 @@ | ||
package delivery.common.exception.receiving; | ||
|
||
import global.errorcode.ErrorCodeIfs; | ||
|
||
public class ReceivingNotInConfirmationException extends RuntimeException { | ||
|
||
private final ErrorCodeIfs errorCodeIfs; | ||
private final String description; | ||
|
||
public ReceivingNotInConfirmationException(ErrorCodeIfs errorCodeIfs) { | ||
super(errorCodeIfs.getDescription()); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorCodeIfs.getDescription(); | ||
} | ||
|
||
public ReceivingNotInConfirmationException(ErrorCodeIfs errorCodeIfs, String errorDescription) { | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorDescription; | ||
} | ||
|
||
public ReceivingNotInConfirmationException(ErrorCodeIfs errorCodeIfs, Throwable throwable) { | ||
super(throwable); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorCodeIfs.getDescription(); | ||
} | ||
|
||
public ReceivingNotInConfirmationException(ErrorCodeIfs errorCodeIfs, Throwable throwable, | ||
String errorDescription) { | ||
super(throwable); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorDescription; | ||
} | ||
|
||
} |
36 changes: 36 additions & 0 deletions
36
...ry/src/main/java/delivery/common/exception/receiving/ReceivingNotInDeliveryException.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,36 @@ | ||
package delivery.common.exception.receiving; | ||
|
||
import global.errorcode.ErrorCodeIfs; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class ReceivingNotInDeliveryException extends RuntimeException { | ||
|
||
private final ErrorCodeIfs errorCodeIfs; | ||
private final String description; | ||
|
||
public ReceivingNotInDeliveryException(ErrorCodeIfs errorCodeIfs) { | ||
super(errorCodeIfs.getDescription()); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorCodeIfs.getDescription(); | ||
} | ||
|
||
public ReceivingNotInDeliveryException(ErrorCodeIfs errorCodeIfs, String errorDescription) { | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorDescription; | ||
} | ||
|
||
public ReceivingNotInDeliveryException(ErrorCodeIfs errorCodeIfs, Throwable throwable) { | ||
super(throwable); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorCodeIfs.getDescription(); | ||
} | ||
|
||
public ReceivingNotInDeliveryException(ErrorCodeIfs errorCodeIfs, Throwable throwable, | ||
String errorDescription) { | ||
super(throwable); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorDescription; | ||
} | ||
|
||
} |
34 changes: 34 additions & 0 deletions
34
...very/src/main/java/delivery/common/exception/shipping/ShippingNotInDeliveryException.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,34 @@ | ||
package delivery.common.exception.shipping; | ||
|
||
import global.errorcode.ErrorCodeIfs; | ||
|
||
public class ShippingNotInDeliveryException extends RuntimeException { | ||
|
||
private final ErrorCodeIfs errorCodeIfs; | ||
private final String description; | ||
|
||
public ShippingNotInDeliveryException(ErrorCodeIfs errorCodeIfs) { | ||
super(errorCodeIfs.getDescription()); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorCodeIfs.getDescription(); | ||
} | ||
|
||
public ShippingNotInDeliveryException(ErrorCodeIfs errorCodeIfs, String errorDescription) { | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorDescription; | ||
} | ||
|
||
public ShippingNotInDeliveryException(ErrorCodeIfs errorCodeIfs, Throwable throwable) { | ||
super(throwable); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorCodeIfs.getDescription(); | ||
} | ||
|
||
public ShippingNotInDeliveryException(ErrorCodeIfs errorCodeIfs, Throwable throwable, | ||
String errorDescription) { | ||
super(throwable); | ||
this.errorCodeIfs = errorCodeIfs; | ||
this.description = errorDescription; | ||
} | ||
|
||
} |
Oops, something went wrong.