001 package org.apache.fulcrum.intake;
002
003 /*
004 * Licensed to the Apache Software Foundation (ASF) under one
005 * or more contributor license agreements. See the NOTICE file
006 * distributed with this work for additional information
007 * regarding copyright ownership. The ASF licenses this file
008 * to you under the Apache License, Version 2.0 (the
009 * "License"); you may not use this file except in compliance
010 * with the License. You may obtain a copy of the License at
011 *
012 * http://www.apache.org/licenses/LICENSE-2.0
013 *
014 * Unless required by applicable law or agreed to in writing,
015 * software distributed under the License is distributed on an
016 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
017 * KIND, either express or implied. See the License for the
018 * specific language governing permissions and limitations
019 * under the License.
020 */
021
022 /**
023 * Base exception thrown by the Intake service.
024 *
025 * @author <a href="mailto:quintonm@bellsouth.net">Quinton McCombs</a>
026 * @version $Id: IntakeError.java 670328 2008-06-22 09:34:11Z tv $
027 */
028 public class IntakeError extends Error
029 {
030 /**
031 * Serial version id
032 */
033 private static final long serialVersionUID = 7594936180163472231L;
034
035 /**
036 * Constructs a new <code>IntakeError</code> without specified
037 * detail message.
038 */
039 public IntakeError()
040 {
041 super();
042 }
043
044 /**
045 * Constructs a new <code>IntakeError</code> with specified
046 * detail message.
047 *
048 * @param msg The error message.
049 */
050 public IntakeError(String msg)
051 {
052 super(msg);
053 }
054
055 /**
056 * Constructs a new <code>IntakeError</code> with specified
057 * nested <code>Throwable</code>.
058 *
059 * @param nested The exception or error that caused this exception
060 * to be thrown.
061 */
062 public IntakeError(Throwable nested)
063 {
064 super(nested);
065 }
066
067 /**
068 * Constructs a new <code>IntakeError</code> with specified
069 * detail message and nested <code>Throwable</code>.
070 *
071 * @param msg The error message.
072 * @param nested The exception or error that caused this exception
073 * to be thrown.
074 */
075 public IntakeError(String msg, Throwable nested)
076 {
077 super(msg, nested);
078 }
079 }