Author: rich Date: Mon Dec 6 16:50:39 2004 New Revision: 110063 URL: http://svn.apache.org/viewcvs?view=rev&rev=110063 Log: Another missing file from 110053. Bug in my svn-missing script. :S
Added: incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/SessionExpiredException.java (contents, props changed) Added: incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/SessionExpiredException.java Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/SessionExpiredException.java?view=auto&rev=110063 ============================================================================== --- (empty file) +++ incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/SessionExpiredException.java Mon Dec 6 16:50:39 2004 @@ -0,0 +1,62 @@ +/* + * Copyright 2004 The Apache Software Foundation. + * + * 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. + * + * $Header:$ + */ +package org.apache.beehive.netui.pageflow; + + +// TODO: comment +/** + * Exception thrown when: + * <ul> + * <li></li> + * <li></li> + * </ul> + */ +public class SessionExpiredException + extends PageFlowException +{ + private PageFlowException _effect; + + public SessionExpiredException( PageFlowException effect ) + { + super( effect.getActionName(), effect.getFlowController() ); + _effect = effect; + } + + protected Object[] getMessageArgs() + { + return new Object[]{ getActionName(), getFlowControllerURI() }; + } + + public String[] getMessageParts() + { + return new String[] + { + "Action ", " on page flow ", " cannot be completed because the user session has expired." + }; + } + + public Throwable getEffect() + { + return _effect; + } + + public boolean causeMayBeSessionExpiration() + { + return false; + } +}
