DBAbstract API Documentation

ro.raducora.utils.protocol
Class RedirectException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--ro.raducora.utils.protocol.RedirectException
All Implemented Interfaces:
java.io.Serializable

public class RedirectException
extends java.lang.Exception

Author:
Radu Coravu
Created on May 8, 2004
See Also:
Serialized Form

Constructor Summary
RedirectException(java.lang.String redirectHost, int redirectPort)
          Constructor
 
Method Summary
 java.lang.String getRedirectHost()
          Get the host to redirect to
 int getRedirectPort()
          Get the PORT to redirect to
 
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

RedirectException

public RedirectException(java.lang.String redirectHost,
                         int redirectPort)
Constructor

Parameters:
redirectHost - the host to redirect to
redirectPort - the port to redirect to
Method Detail

getRedirectHost

public java.lang.String getRedirectHost()
Get the host to redirect to

Returns:
the host to redirect to

getRedirectPort

public int getRedirectPort()
Get the PORT to redirect to

Returns:
the host to redirect to

DBAbstract API Documentation

© Copyright Radu Coravu 2002 - 2004.