X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.cms%2Fsrc%2Forg%2Fargeo%2Fcms%2Fauth%2FCmsSessionId.java;h=cc435aeb8f7b568e6c59a1be69f3cb46f53ac07c;hb=3df0adaee4a48c10452fb2064fb8e608b9c985d1;hp=b71eb4fc786a589283ac271dde899e80c05dfabd;hpb=8633b7d69ebb6e1c5af0b1e170d7b4f2af3567d3;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; }