- * Defines the different error. This is an enum instead of custom exceptions
- * to keep the number of exceptions down. Specialized exceptions might still
- * exist, though.
- */
- public static enum Type {
-
- /** An invalid Sone name was specified. */
- INVALID_SONE_NAME,
-
- /** An invalid URI was specified. */
- INVALID_URI,
-
- /** An insert failed. */
- INSERT_FAILED,
-
- }
-
- /** The type of the exception. */
- private final Type type;
-
- /**