org.silverpeas.token.exception
Class TokenGenerationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.silverpeas.token.exception.TokenRuntimeException
                  extended by org.silverpeas.token.exception.TokenGenerationException
All Implemented Interfaces:
Serializable

public class TokenGenerationException
extends TokenRuntimeException

An exception thrown when an error is encountered during the generation of a token.

Author:
mmoquillon
See Also:
Serialized Form

Constructor Summary
TokenGenerationException()
          Creates a new instance of TokenGenerationException without detail message.
TokenGenerationException(String msg)
          Constructs an instance of TokenGenerationException with the specified detail message.
TokenGenerationException(String message, Throwable cause)
          Constructs an instance of TokenGenerationException with the specified detail message and with the specified cause.
 
Method Summary
 
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

TokenGenerationException

public TokenGenerationException()
Creates a new instance of TokenGenerationException without detail message.


TokenGenerationException

public TokenGenerationException(String msg)
Constructs an instance of TokenGenerationException with the specified detail message.

Parameters:
msg - the detail message.

TokenGenerationException

public TokenGenerationException(String message,
                                Throwable cause)
Constructs an instance of TokenGenerationException with the specified detail message and with the specified cause.

Parameters:
message - the detail message.
cause - the cause of this exception.


Copyright © 2016 Silverpeas. All Rights Reserved.