You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-dev@ws.apache.org by sc...@apache.org on 2005/01/24 16:12:54 UTC
svn commit: r126291 - incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl
Author: scamp
Date: Mon Jan 24 07:12:53 2005
New Revision: 126291
URL: http://svn.apache.org/viewcvs?view=rev&rev=126291
Log:
Added:
incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/InvalidTopicExpressionException.java
incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/TopicExpressionException.java
incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/TopicExpressionResolutionException.java
incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/UnsupportedTopicExpressionDialectException.java
Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/InvalidTopicExpressionException.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/InvalidTopicExpressionException.java?view=auto&rev=126291
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/InvalidTopicExpressionException.java Mon Jan 24 07:12:53 2005
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * 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.apache.ws.notification.topics.topicexpression.impl;
+
+
+/**
+ * This exception is raised when the topic expression is invalid.
+ */
+public class InvalidTopicExpressionException extends TopicExpressionException
+{
+ /**
+ * Creates a InvalidTopicExpressionException without error message.
+ */
+ public InvalidTopicExpressionException()
+ {
+ }
+
+ /**
+ * Creates a InvalidTopicExpressionException with a given error message.
+ *
+ * @param message error message
+ */
+ public InvalidTopicExpressionException(String message)
+ {
+ super(message);
+ }
+
+ /**
+ * Creates a InvalidTopicExpressionException with a given error message
+ * and nested exception.
+ *
+ * @param message error message
+ * @param exception nested exception/
+ */
+ public InvalidTopicExpressionException(String message, Throwable exception)
+ {
+ super(message, exception);
+ }
+
+ /**
+ * Creates a InvalidTopicExpressionException from a nested exception.
+ *
+ * @param exception nested exception
+ */
+ public InvalidTopicExpressionException(Throwable exception)
+ {
+ super(exception);
+ }
+}
Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/TopicExpressionException.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/TopicExpressionException.java?view=auto&rev=126291
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/TopicExpressionException.java Mon Jan 24 07:12:53 2005
@@ -0,0 +1,63 @@
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * 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.apache.ws.notification.topics.topicexpression.impl;
+
+
+/**
+ * This is a basic exception raised by <code>TopicExpressionEngine</code> or
+ * <code>TopicExpressionEvaluator</code>.
+ */
+public class TopicExpressionException extends Throwable
+{
+ /**
+ * Creates a TopicExpressionException without error message.
+ */
+ public TopicExpressionException()
+ {
+ }
+
+ /**
+ * Creates a TopicExpressionException with a given error message.
+ *
+ * @param message error message
+ */
+ public TopicExpressionException(String message)
+ {
+ super(message);
+ }
+
+ /**
+ * Creates a TopicExpressionException with a given error message and nested
+ * exception.
+ *
+ * @param message error message
+ * @param exception nested exception/
+ */
+ public TopicExpressionException(String message, Throwable exception)
+ {
+ super(message, exception);
+ }
+
+ /**
+ * Creates a TopicExpressionException from a nested exception.
+ *
+ * @param exception nested exception
+ */
+ public TopicExpressionException(Throwable exception)
+ {
+ super("", exception);
+ }
+}
Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/TopicExpressionResolutionException.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/TopicExpressionResolutionException.java?view=auto&rev=126291
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/TopicExpressionResolutionException.java Mon Jan 24 07:12:53 2005
@@ -0,0 +1,65 @@
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * 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.apache.ws.notification.topics.topicexpression.impl;
+
+
+
+/**
+ * This exception is raised when resolution of a topic expression fails.
+ */
+public class TopicExpressionResolutionException extends org.apache.ws.notification.topics.topicexpression.impl.TopicExpressionException
+{
+ /**
+ * Creates a TopicExpressionResolutionException without error message.
+ */
+ public TopicExpressionResolutionException()
+ {
+ }
+
+ /**
+ * Creates a TopicExpressionResolutionException with a given error message.
+ *
+ * @param message error message
+ */
+ public TopicExpressionResolutionException(String message)
+ {
+ super(message);
+ }
+
+ /**
+ * Creates a TopicExpressionResolutionException with a given error message
+ * and nested exception.
+ *
+ * @param message error message
+ * @param exception nested exception
+ */
+ public TopicExpressionResolutionException(
+ String message,
+ Throwable exception)
+ {
+ super(message, exception);
+ }
+
+ /**
+ * Creates a TopicExpressionResolutionException from a nested exception.
+ *
+ * @param exception nested exception
+ */
+ public TopicExpressionResolutionException(Throwable exception)
+ {
+ super(exception);
+ }
+}
Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/UnsupportedTopicExpressionDialectException.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/UnsupportedTopicExpressionDialectException.java?view=auto&rev=126291
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/topicexpression/impl/UnsupportedTopicExpressionDialectException.java Mon Jan 24 07:12:53 2005
@@ -0,0 +1,67 @@
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * 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.apache.ws.notification.topics.topicexpression.impl;
+
+
+
+/**
+ * This exception is raised if the given topic expression dialect is
+ * unsupported.
+ */
+public class UnsupportedTopicExpressionDialectException
+ extends org.apache.ws.notification.topics.topicexpression.impl.TopicExpressionException
+{
+ /**
+ * Creates a UnsupportedQueryDialectException without error message.
+ */
+ public UnsupportedTopicExpressionDialectException()
+ {
+ }
+
+ /**
+ * Creates a UnsupportedQueryDialectException with a given error message.
+ *
+ * @param message error message
+ */
+ public UnsupportedTopicExpressionDialectException(String message)
+ {
+ super(message);
+ }
+
+ /**
+ * Creates a UnsupportedQueryDialectException with a given error message
+ * and nested exception.
+ *
+ * @param message error message
+ * @param exception nested exception/
+ */
+ public UnsupportedTopicExpressionDialectException(
+ String message,
+ Throwable exception)
+ {
+ super(message, exception);
+ }
+
+ /**
+ * Creates a UnsupportedQueryDialectException from a nested exception.
+ *
+ * @param exception nested exception
+ */
+ public UnsupportedTopicExpressionDialectException(Throwable exception)
+ {
+ super(exception);
+ }
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: hermes-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: hermes-dev-help@ws.apache.org