001/* 002 * Licensed to the Apache Software Foundation (ASF) under one or more 003 * contributor license agreements. See the NOTICE file distributed with 004 * this work for additional information regarding copyright ownership. 005 * The ASF licenses this file to You under the Apache License, Version 2.0 006 * (the "License"); you may not use this file except in compliance with 007 * the License. You may obtain a copy of the License at 008 * 009 * http://www.apache.org/licenses/LICENSE-2.0 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 014 * See the License for the specific language governing permissions and 015 * limitations under the License. 016 */ 017package org.apache.wicket.cdi; 018 019import org.apache.wicket.Page; 020import org.apache.wicket.request.IRequestHandler; 021 022public class ConversationExpiredException extends RuntimeException 023{ 024 private static final long serialVersionUID = 1L; 025 private String cid; 026 private Page page; 027 private IRequestHandler handler; 028 029 public ConversationExpiredException(Throwable cause, String cid, Page page, 030 IRequestHandler handler) 031 { 032 super(cause); 033 this.cid = cid; 034 this.page = page; 035 this.handler = handler; 036 } 037 038 public String getCid() 039 { 040 return cid; 041 } 042 043 public Page getPage() 044 { 045 return page; 046 } 047 048 public IRequestHandler getHandler() 049 { 050 return handler; 051 } 052}