001 /*
002 * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
003 * agreements. See the NOTICE file distributed with this work for additional information regarding
004 * copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
005 * "License"); you may not use this file except in compliance with the License. You may obtain a
006 * copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable
007 * law or agreed to in writing, software distributed under the License is distributed on an "AS IS"
008 * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
009 * for the specific language governing permissions and limitations under the License.
010 */
011 package javax.portlet.faces;
012
013 import javax.faces.FacesException;
014
015 /**
016 * Generic exception thrown when the bridge encounters an unexpected error. The
017 * message returned in this exeception should contain the details of the specific
018 * problem.
019 */
020
021 public class BridgeException extends FacesException
022 {
023 //TODO: This should be regenerated each time this is modified. Can this be added to maven?
024 private static final long serialVersionUID = 6758659847475864393L;
025
026 public BridgeException()
027 {
028 super();
029 }
030
031 public BridgeException(String message)
032 {
033 super(message);
034 }
035
036 public BridgeException(String message, Throwable cause)
037 {
038 super(message, cause);
039 }
040
041 public BridgeException(Throwable cause)
042 {
043 super(cause);
044 }
045 }