org.norther.tammi.spray.template
Class ReflowedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.norther.tammi.spray.template.ReflowedException
All Implemented Interfaces:
Serializable

public class ReflowedException
extends Exception

An exception for redirected requests.

Version:
$Id: RedirectionExceptionFilter.java,v 1.8 2009/09/28 15:08:27 cvsimp Exp $
Author:
Ilkka Priha
See Also:
Serialized Form

Constructor Summary
ReflowedException()
          Constructs a new redirection.
ReflowedException(boolean sec)
          Constructs a new redirection with security.
ReflowedException(String sel)
          Constructs a new redirection with a selection.
ReflowedException(String sel, boolean sec)
          Constructs a new redirection with a selection and security.
 
Method Summary
 String getSelection()
          Gets the selection.
 boolean isSecure()
          Checks whether secure.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReflowedException

public ReflowedException()
Constructs a new redirection.


ReflowedException

public ReflowedException(boolean sec)
Constructs a new redirection with security.

Parameters:
sec - true if secure, false otherwise.

ReflowedException

public ReflowedException(String sel)
Constructs a new redirection with a selection.

Parameters:
sel - the selection.

ReflowedException

public ReflowedException(String sel,
                         boolean sec)
Constructs a new redirection with a selection and security.

Parameters:
sel - the selection.
sec - true if secure, false otherwise.
Method Detail

isSecure

public boolean isSecure()
Checks whether secure.

Returns:
true if secure, false otherwise.

getSelection

public String getSelection()
Gets the selection.

Returns:
the selection.


Copyright © 2004 The Norther Organization. All rights reserved.