X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2FSoneException.java;h=271627edc88b2569723cade807055d5e3c0bcee7;hp=51847c538af60407566e821fe5d0dccb83309829;hb=0df5e91852f737d760c5a9f54c5667309fbadcc2;hpb=8c58f1fe30a0c69e1e65b5c48b694a44b92870f0 diff --git a/src/main/java/net/pterodactylus/sone/core/SoneException.java b/src/main/java/net/pterodactylus/sone/core/SoneException.java index 51847c5..271627e 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneException.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneException.java @@ -1,5 +1,5 @@ /* - * FreenetSone - SoneException.java - Copyright © 2010 David Roden + * Sone - SoneException.java - Copyright © 2010 David Roden * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,8 +31,15 @@ public class SoneException extends Exception { */ public static enum Type { + /** An invalid Sone name was specified. */ + INVALID_SONE_NAME, + /** An invalid URI was specified. */ - INVALID_URI + INVALID_URI, + + /** An insert failed. */ + INSERT_FAILED, + } /** The type of the exception. */