From 946292048c3c76c0fbc0d0f54fd52598bce6e305 Mon Sep 17 00:00:00 2001 From: nash Date: Sun, 13 Sep 2009 22:01:04 +0000 Subject: Copy r797997, r798040 and r798050 changes from 1.5.1 branch to 1.x branch git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814393 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/monitor/MonitorRuntimeException.java | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 branches/sca-java-1.x/modules/monitor/src/main/java/org/apache/tuscany/sca/monitor/MonitorRuntimeException.java (limited to 'branches/sca-java-1.x/modules/monitor') diff --git a/branches/sca-java-1.x/modules/monitor/src/main/java/org/apache/tuscany/sca/monitor/MonitorRuntimeException.java b/branches/sca-java-1.x/modules/monitor/src/main/java/org/apache/tuscany/sca/monitor/MonitorRuntimeException.java new file mode 100644 index 0000000000..90cbe99688 --- /dev/null +++ b/branches/sca-java-1.x/modules/monitor/src/main/java/org/apache/tuscany/sca/monitor/MonitorRuntimeException.java @@ -0,0 +1,55 @@ +/* + * 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.tuscany.sca.monitor; + + +/** + * Denotes an exception that has been logged and recorded in the monitor. + * + * @version $Rev$ $Date$ + */ +public class MonitorRuntimeException extends RuntimeException { + private static final long serialVersionUID = 8972044333077591932L; + + public MonitorRuntimeException() { + super(); + } + + /** + * @param message + * @param cause + */ + public MonitorRuntimeException(String message, Throwable cause) { + super(message, cause); + } + + /** + * @param message + */ + public MonitorRuntimeException(String message) { + super(message); + } + + /** + * @param cause + */ + public MonitorRuntimeException(Throwable cause) { + super(cause); + } +} -- cgit v1.2.3