From: David ‘Bombe’ Roden Date: Wed, 13 Oct 2010 12:05:38 +0000 (+0200) Subject: Add exception type for invalid Sone names. X-Git-Tag: 0.1-RC1~487 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b35df67821fdaeeac5ac28c40bb65f56969863c9;p=Sone.git Add exception type for invalid Sone names. --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneException.java b/src/main/java/net/pterodactylus/sone/core/SoneException.java index 51847c5..74f257d 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneException.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneException.java @@ -31,8 +31,12 @@ 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, + } /** The type of the exception. */