X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=config%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fxmlrouter%2Fconfig%2FDuplicateException.java;fp=config%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fxmlrouter%2Fconfig%2FDuplicateException.java;h=635f6c6c67d88e5d39d12ccbe6d94c2356a8edca;hb=03a6b404471945aed9d48fc1e5b8447b4a9d9413;hp=0000000000000000000000000000000000000000;hpb=7b7444ecb86a1af3eb11013e94776c2860205f2a;p=xmlrouter diff --git a/config/src/main/java/org/wamblee/xmlrouter/config/DuplicateException.java b/config/src/main/java/org/wamblee/xmlrouter/config/DuplicateException.java new file mode 100644 index 0000000..635f6c6 --- /dev/null +++ b/config/src/main/java/org/wamblee/xmlrouter/config/DuplicateException.java @@ -0,0 +1,32 @@ +/* + * Copyright 2005-2011 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.wamblee.xmlrouter.config; + +/** + * Exception thrown in case of duplicates. + * + * @author Erik Brakkee + */ +public class DuplicateException extends RuntimeException { + + public DuplicateException(String aMsg) { + super(aMsg); + } + + public DuplicateException(String aMsg, Throwable aCause) { + super(aMsg, aCause); + } +}