-
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
3 changed files
with
57 additions
and
3 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
20 changes: 20 additions & 0 deletions
20
src/main/java/eu/fabiostrozzi/chirp/service/InvalidOperationException.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,20 @@ | ||
// InvalidOperationException.java, created on Jan 20, 2013 | ||
package eu.fabiostrozzi.chirp.service; | ||
|
||
/** | ||
* Describes any attempt to do invalid operations such as following oneself. | ||
* | ||
* @author fabio | ||
*/ | ||
public class InvalidOperationException extends RuntimeException { | ||
private static final long serialVersionUID = 3562290360885372281L; | ||
|
||
public InvalidOperationException() {} | ||
|
||
/** | ||
* @param message | ||
*/ | ||
public InvalidOperationException(String message) { | ||
super(message); | ||
} | ||
} |