[jbpm-commits] JBoss JBPM SVN: r2355 - in jbpm4/trunk/modules/api/src/main/java/org: jbpm and 1 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Sep 24 10:53:47 EDT 2008


Author: thomas.diesler at jboss.com
Date: 2008-09-24 10:53:47 -0400 (Wed, 24 Sep 2008)
New Revision: 2355

Added:
   jbpm4/trunk/modules/api/src/main/java/org/jbpm/
   jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/
   jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/BPMException.java
   jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/EngineShutdownException.java
   jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/InvalidProcessException.java
   jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/NameNotUniqueException.java
   jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/NotImplementedException.java
   jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/ProcessNotFoundException.java
   jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/ProcessTimeoutException.java
Removed:
   jbpm4/trunk/modules/api/src/main/java/org/jboss/
Log:
Move package to org.jbpm.api

Added: jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/BPMException.java
===================================================================
--- jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/BPMException.java	                        (rev 0)
+++ jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/BPMException.java	2008-09-24 14:53:47 UTC (rev 2355)
@@ -0,0 +1,55 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.jbpm.api;
+
+// $Id$
+
+/**
+ * A RuntimeException that can be thrown for unrecoverable API errors
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 18-Jun-2008
+ */
+ at SuppressWarnings("serial")
+public class BPMException extends RuntimeException
+{
+  public BPMException()
+  {
+    super();
+  }
+
+  public BPMException(String message, Throwable cause)
+  {
+    super(message, cause);
+  }
+
+  public BPMException(String message)
+  {
+    super(message);
+  }
+
+  public BPMException(Throwable cause)
+  {
+    super(cause);
+  }
+
+}


Property changes on: jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/BPMException.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/EngineShutdownException.java
===================================================================
--- jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/EngineShutdownException.java	                        (rev 0)
+++ jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/EngineShutdownException.java	2008-09-24 14:53:47 UTC (rev 2355)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.jbpm.api;
+
+// $Id$
+
+/**
+ * A JBPMException that is thrown when an invalid operation is invoked on engine shutdown.
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 18-Jun-2008
+ */
+ at SuppressWarnings("serial")
+public class EngineShutdownException extends BPMException
+{
+
+  public EngineShutdownException()
+  {
+    super();
+  }
+
+  public EngineShutdownException(String message)
+  {
+    super(message);
+  }
+}


Property changes on: jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/EngineShutdownException.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/InvalidProcessException.java
===================================================================
--- jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/InvalidProcessException.java	                        (rev 0)
+++ jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/InvalidProcessException.java	2008-09-24 14:53:47 UTC (rev 2355)
@@ -0,0 +1,55 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.jbpm.api;
+
+
+// $Id$
+
+/**
+ * A RuntimeException that is thrown for invalid processes
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 18-Jun-2008
+ */
+ at SuppressWarnings("serial")
+public class InvalidProcessException extends BPMException
+{
+  public InvalidProcessException()
+  {
+    super();
+  }
+
+  public InvalidProcessException(String message)
+  {
+    super(message);
+  }
+
+  public InvalidProcessException(String message, Throwable cause)
+  {
+    super(message, cause);
+  }
+
+  public InvalidProcessException(Throwable cause)
+  {
+    super(cause);
+  }
+}


Property changes on: jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/InvalidProcessException.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/NameNotUniqueException.java
===================================================================
--- jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/NameNotUniqueException.java	                        (rev 0)
+++ jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/NameNotUniqueException.java	2008-09-24 14:53:47 UTC (rev 2355)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.jbpm.api;
+
+// $Id$
+
+/**
+ * A JBPMException that is thrown when an element name is not unique.
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 18-Jun-2008
+ */
+ at SuppressWarnings("serial")
+public class NameNotUniqueException extends InvalidProcessException
+{
+  public NameNotUniqueException()
+  {
+    super();
+  }
+
+  public NameNotUniqueException(String message)
+  {
+    super(message);
+  }
+}


Property changes on: jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/NameNotUniqueException.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/NotImplementedException.java
===================================================================
--- jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/NotImplementedException.java	                        (rev 0)
+++ jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/NotImplementedException.java	2008-09-24 14:53:47 UTC (rev 2355)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.jbpm.api;
+
+// $Id$
+
+/**
+ * A RuntimeException that should be thrown for unimplemented features
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 18-Jun-2008
+ */
+ at SuppressWarnings("serial")
+public class NotImplementedException extends RuntimeException
+{
+  public NotImplementedException(String jiraIssue, String message)
+  {
+    super("[" + jiraIssue + "] " + message);
+  }
+}


Property changes on: jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/NotImplementedException.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/ProcessNotFoundException.java
===================================================================
--- jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/ProcessNotFoundException.java	                        (rev 0)
+++ jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/ProcessNotFoundException.java	2008-09-24 14:53:47 UTC (rev 2355)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.jbpm.api;
+
+
+// $Id$
+
+/**
+ * A RuntimeException that is when a process cannot be found in persistent storage.
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 18-Sep-2008
+ */
+ at SuppressWarnings("serial")
+public class ProcessNotFoundException extends BPMException
+{
+  public ProcessNotFoundException()
+  {
+    super();
+  }
+
+  public ProcessNotFoundException(String message)
+  {
+    super(message);
+  }
+}


Property changes on: jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/ProcessNotFoundException.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/ProcessTimeoutException.java
===================================================================
--- jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/ProcessTimeoutException.java	                        (rev 0)
+++ jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/ProcessTimeoutException.java	2008-09-24 14:53:47 UTC (rev 2355)
@@ -0,0 +1,54 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.jbpm.api;
+
+// $Id$
+
+/**
+ * A RuntimeException that is thrown when the process does not respond in time
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 24-Jul-2008
+ */
+ at SuppressWarnings("serial")
+public class ProcessTimeoutException extends BPMException
+{
+  public ProcessTimeoutException()
+  {
+    super();
+  }
+
+  public ProcessTimeoutException(String message, Throwable cause)
+  {
+    super(message, cause);
+  }
+
+  public ProcessTimeoutException(String message)
+  {
+    super(message);
+  }
+
+  public ProcessTimeoutException(Throwable cause)
+  {
+    super(cause);
+  }
+}


Property changes on: jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/ProcessTimeoutException.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF




More information about the jbpm-commits mailing list