You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2010/03/04 19:48:31 UTC
svn commit: r919122 - in
/james/server/trunk/spoolmanager/src/main/java/org/apache/james/transport/camel:
PermanentErrorException.java TemporaryDeliveryErrorException.java
Author: norman
Date: Thu Mar 4 18:48:31 2010
New Revision: 919122
URL: http://svn.apache.org/viewvc?rev=919122&view=rev
Log:
Add Exception for use with RemoteDelivery and camel later. See JAMES-977
Added:
james/server/trunk/spoolmanager/src/main/java/org/apache/james/transport/camel/PermanentErrorException.java
james/server/trunk/spoolmanager/src/main/java/org/apache/james/transport/camel/TemporaryDeliveryErrorException.java
Added: james/server/trunk/spoolmanager/src/main/java/org/apache/james/transport/camel/PermanentErrorException.java
URL: http://svn.apache.org/viewvc/james/server/trunk/spoolmanager/src/main/java/org/apache/james/transport/camel/PermanentErrorException.java?rev=919122&view=auto
==============================================================================
--- james/server/trunk/spoolmanager/src/main/java/org/apache/james/transport/camel/PermanentErrorException.java (added)
+++ james/server/trunk/spoolmanager/src/main/java/org/apache/james/transport/camel/PermanentErrorException.java Thu Mar 4 18:48:31 2010
@@ -0,0 +1,35 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.transport.camel;
+
+import javax.mail.MessagingException;
+
+/**
+ * Exception which get thrown on permanent delivery problem
+ *
+ *
+ */
+@SuppressWarnings("serial")
+public class PermanentErrorException extends MessagingException{
+
+ public PermanentErrorException(String msg) {
+ super(msg);
+ }
+}
Added: james/server/trunk/spoolmanager/src/main/java/org/apache/james/transport/camel/TemporaryDeliveryErrorException.java
URL: http://svn.apache.org/viewvc/james/server/trunk/spoolmanager/src/main/java/org/apache/james/transport/camel/TemporaryDeliveryErrorException.java?rev=919122&view=auto
==============================================================================
--- james/server/trunk/spoolmanager/src/main/java/org/apache/james/transport/camel/TemporaryDeliveryErrorException.java (added)
+++ james/server/trunk/spoolmanager/src/main/java/org/apache/james/transport/camel/TemporaryDeliveryErrorException.java Thu Mar 4 18:48:31 2010
@@ -0,0 +1,36 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.transport.camel;
+
+import javax.mail.MessagingException;
+
+/**
+ * Exception which get thrown on a temporary delivery problem.
+ *
+ *
+ */
+@SuppressWarnings("serial")
+public class TemporaryDeliveryErrorException extends MessagingException{
+
+ public TemporaryDeliveryErrorException(String msg) {
+ super(msg);
+ }
+
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org