forked from zalando/nakadi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name exception uniformaly - instead of
Wrong*
to Invalid*
- Loading branch information
Showing
12 changed files
with
56 additions
and
55 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
13 changes: 13 additions & 0 deletions
13
...n/src/main/java/org/zalando/nakadi/exceptions/runtime/InvalidInitialCursorsException.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,13 @@ | ||
package org.zalando.nakadi.exceptions.runtime; | ||
|
||
public class InvalidInitialCursorsException extends NakadiBaseException { | ||
|
||
public InvalidInitialCursorsException(final String msg) { | ||
super(msg); | ||
} | ||
|
||
public InvalidInitialCursorsException(final String msg, final Exception cause) { | ||
super(msg, cause); | ||
} | ||
|
||
} |
8 changes: 8 additions & 0 deletions
8
...src/main/java/org/zalando/nakadi/exceptions/runtime/InvalidStreamParametersException.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,8 @@ | ||
package org.zalando.nakadi.exceptions.runtime; | ||
|
||
public class InvalidStreamParametersException extends NakadiBaseException { | ||
|
||
public InvalidStreamParametersException(final String message) { | ||
super(message); | ||
} | ||
} |
13 changes: 0 additions & 13 deletions
13
...mon/src/main/java/org/zalando/nakadi/exceptions/runtime/WrongInitialCursorsException.java
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...n/src/main/java/org/zalando/nakadi/exceptions/runtime/WrongStreamParametersException.java
This file was deleted.
Oops, something went wrong.
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