net.trajano.twiff
Class InvalidTokenException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.trajano.twiff.TwiffException
                  extended by net.trajano.twiff.InvalidTokenException
All Implemented Interfaces:
Serializable

public class InvalidTokenException
extends TwiffException

Subclass of TwiffException when a token is being requested that is not valid.

Author:
Archimedes Trajano
See Also:
Serialized Form

Constructor Summary
InvalidTokenException(String token)
          Construct a new exception specifying the token value.
 
Method Summary
 String getRequestedToken()
          Returns the token requested
 
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

InvalidTokenException

public InvalidTokenException(String token)
Construct a new exception specifying the token value.

Parameters:
token - token being requested
Method Detail

getRequestedToken

public final String getRequestedToken()
Returns the token requested

Returns:
the token requested.


Copyright © 2004-2005 trajano.net. All Rights Reserved.