diff --git a/spring-eai-core/src/main/java/org/springframework/eai/MessageDeliveryException.java b/spring-eai-core/src/main/java/org/springframework/eai/MessageDeliveryException.java new file mode 100644 index 0000000000..01b75961c1 --- /dev/null +++ b/spring-eai-core/src/main/java/org/springframework/eai/MessageDeliveryException.java @@ -0,0 +1,33 @@ +/* + * Copyright 2002-2007 the original author or authors. + * + * Licensed 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.springframework.eai; + +/** + * @author Mark Fisher + */ +@SuppressWarnings("serial") +public class MessageDeliveryException extends MessagingException { + + public MessageDeliveryException(String message) { + super(message); + } + + public MessageDeliveryException(String message, Throwable cause) { + super(message, cause); + } + +} diff --git a/spring-eai-core/src/main/java/org/springframework/eai/MessageHandlingException.java b/spring-eai-core/src/main/java/org/springframework/eai/MessageHandlingException.java new file mode 100644 index 0000000000..a4a0879afb --- /dev/null +++ b/spring-eai-core/src/main/java/org/springframework/eai/MessageHandlingException.java @@ -0,0 +1,33 @@ +/* + * Copyright 2002-2007 the original author or authors. + * + * Licensed 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.springframework.eai; + +/** + * @author Mark Fisher + */ +@SuppressWarnings("serial") +public class MessageHandlingException extends MessagingException { + + public MessageHandlingException(String message) { + super(message); + } + + public MessageHandlingException(String message, Throwable cause) { + super(message, cause); + } + +} diff --git a/spring-eai-core/src/main/java/org/springframework/eai/MessagingException.java b/spring-eai-core/src/main/java/org/springframework/eai/MessagingException.java new file mode 100644 index 0000000000..fc94e01b3f --- /dev/null +++ b/spring-eai-core/src/main/java/org/springframework/eai/MessagingException.java @@ -0,0 +1,33 @@ +/* + * Copyright 2002-2007 the original author or authors. + * + * Licensed 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.springframework.eai; + +/** + * @author Mark Fisher + */ +@SuppressWarnings("serial") +public class MessagingException extends RuntimeException { + + public MessagingException(String message) { + super(message); + } + + public MessagingException(String message, Throwable cause) { + super(message, cause); + } + +}