X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.cms%2Fsrc%2Forg%2Fargeo%2Fcms%2Fauth%2FCmsSessionId.java;h=cc435aeb8f7b568e6c59a1be69f3cb46f53ac07c;hb=9ec85110269f8be5c83ea26e283359bb451a67b7;hp=b71eb4fc786a589283ac271dde899e80c05dfabd;hpb=b6cad136dfd4589bc2a8f48ec9168732517f451b;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.cms/src/org/argeo/cms/auth/CmsSessionId.java b/org.argeo.cms/src/org/argeo/cms/auth/CmsSessionId.java index b71eb4fc7..cc435aeb8 100644 --- a/org.argeo.cms/src/org/argeo/cms/auth/CmsSessionId.java +++ b/org.argeo.cms/src/org/argeo/cms/auth/CmsSessionId.java @@ -4,8 +4,6 @@ import java.util.UUID; import javax.security.auth.Subject; -import org.argeo.cms.CmsException; - /** * The ID of a {@link CmsSession}, which must be available in the private * credentials of an authenticated {@link Subject}. @@ -15,7 +13,7 @@ public class CmsSessionId { public CmsSessionId(UUID value) { if (value == null) - throw new CmsException("value cannot be null"); + throw new IllegalArgumentException("Value cannot be null"); this.uuid = value; }