Author: anil.saldhana(a)jboss.com
Date: 2008-07-10 15:51:41 -0400 (Thu, 10 Jul 2008)
New Revision: 21
Added:
trunk/identity-api/src/main/java/org/jboss/identity/api/exception/IdentityTypeNotSupportedException.java
trunk/identity-api/src/main/java/org/jboss/identity/api/exception/PersistenceManagerNotFoundException.java
Log:
JBID-7: exception api
Added:
trunk/identity-api/src/main/java/org/jboss/identity/api/exception/IdentityTypeNotSupportedException.java
===================================================================
---
trunk/identity-api/src/main/java/org/jboss/identity/api/exception/IdentityTypeNotSupportedException.java
(rev 0)
+++
trunk/identity-api/src/main/java/org/jboss/identity/api/exception/IdentityTypeNotSupportedException.java 2008-07-10
19:51:41 UTC (rev 21)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.identity.api.exception;
+
+/**
+ * <p>Represents an exception that
+ * the corresponding IdentityType is
+ * not supported</p>
+ * @author Anil.Saldhana(a)redhat.com
+ * @since Jul 10, 2008
+ */
+public class IdentityTypeNotSupportedException extends IdentityException
+{
+ private static final long serialVersionUID = 1L;
+}
Added:
trunk/identity-api/src/main/java/org/jboss/identity/api/exception/PersistenceManagerNotFoundException.java
===================================================================
---
trunk/identity-api/src/main/java/org/jboss/identity/api/exception/PersistenceManagerNotFoundException.java
(rev 0)
+++
trunk/identity-api/src/main/java/org/jboss/identity/api/exception/PersistenceManagerNotFoundException.java 2008-07-10
19:51:41 UTC (rev 21)
@@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.identity.api.exception;
+
+/**
+ * Exception indicating the non-availability
+ * of a Persistence Manager
+ * @author Anil.Saldhana(a)redhat.com
+ * @since Jul 10, 2008
+ */
+public class PersistenceManagerNotFoundException extends IdentityException
+{
+ private static final long serialVersionUID = 1L;
+}