org.silverpeas.token.exception
Class TokenRuntimeException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TokenGenerationException

public class TokenRuntimeException
extends RuntimeException

The exception for all abnormal errors occuring with the Token API and for which the client doesn't need to perform a dedicated action.

Author:
Yohann Chastagnier
See Also:
Serialized Form

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

TokenRuntimeException

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


TokenRuntimeException

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

Parameters:
msg - the detail message.

TokenRuntimeException

public TokenRuntimeException(String message,
                             Throwable cause)
Constructs an instance of TokenRuntimeException 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.