Merge branch 'next' into dev/image
[Sone.git] / src / main / java / net / pterodactylus / sone / core / SoneException.java
index 51847c5..271627e 100644 (file)
@@ -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. */