[jboss-svn-commits] JBL Code SVN: r9310 - labs/jbossesb/workspace/mlittle/harden/product/core/rosetta/src/org/jboss/soa/esb.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sat Feb 3 16:51:37 EST 2007


Author: mark.little at jboss.com
Date: 2007-02-03 16:51:37 -0500 (Sat, 03 Feb 2007)
New Revision: 9310

Added:
   labs/jbossesb/workspace/mlittle/harden/product/core/rosetta/src/org/jboss/soa/esb/FatalError.java
Log:
http://jira.jboss.com/jira/browse/JBESB-394

Added: labs/jbossesb/workspace/mlittle/harden/product/core/rosetta/src/org/jboss/soa/esb/FatalError.java
===================================================================
--- labs/jbossesb/workspace/mlittle/harden/product/core/rosetta/src/org/jboss/soa/esb/FatalError.java	                        (rev 0)
+++ labs/jbossesb/workspace/mlittle/harden/product/core/rosetta/src/org/jboss/soa/esb/FatalError.java	2007-02-03 21:51:37 UTC (rev 9310)
@@ -0,0 +1,73 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, 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.jboss.soa.esb;
+
+/**
+ * Thrown if the ESB enters a state from which it would be unsafe
+ * to continue to execute. If caught, the handler must be sure it
+ * can deal with any underlying cause if the ESB is not to terminate.
+ * 
+ * @author Mark Little
+ * @since Version 4.0.1
+ */
+
+public class FatalError extends Error
+{
+
+	private static final long serialVersionUID = 1L;
+
+	/**
+	 * Construct an exception instance.
+	 * 
+	 * @param message
+	 *            Exception message.
+	 */
+	public FatalError (String message)
+	{
+		super(message);
+	}
+
+	/**
+	 * Construct an exception instance.
+	 * 
+	 * @param message
+	 *            Exception message.
+	 * @param cause
+	 *            Exception cause.
+	 */
+	public FatalError(String message, Throwable cause)
+	{
+		super(message, cause);
+	}
+
+	/**
+	 * Construct an exception instance.
+	 * 
+	 * @param cause
+	 *            Exception cause.
+	 */
+	public FatalError(Throwable cause)
+	{
+		super(cause);
+	}
+}




More information about the jboss-svn-commits mailing list