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 /**
014 * Thrown when the bridge can't resolve the target view from the request and
015 * the portlet hasn't set the PortletRequest attribute
016 * <code>javax.portlet.faces.defaultViewId</code>.
017 */
018 public class BridgeDefaultViewNotSpecifiedException extends BridgeException
019 {
020 //TODO: This should be regenerated each time this is modified. Can this be added to maven?
021 private static final long serialVersionUID = 540438273186022660L;
022
023 public BridgeDefaultViewNotSpecifiedException()
024 {
025 super();
026 }
027
028 public BridgeDefaultViewNotSpecifiedException(String message)
029 {
030 super(message);
031 }
032
033 public BridgeDefaultViewNotSpecifiedException(String message, Throwable cause)
034 {
035 super(message, cause);
036 }
037
038 public BridgeDefaultViewNotSpecifiedException(Throwable cause)
039 {
040 super(cause);
041 }
042 }