Package com.emc.documentum.rest.security.exception

# Class CSRFValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.access.AccessDeniedException
com.emc.documentum.rest.security.exception.CSRFValidationException

All Implemented Interfaces:
  `Serializable`

public class CSRFValidationException extends org.springframework.security.access.AccessDeniedException
CSRF exception caused by CSRF token validation

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CSRFValidationException(String code, Object... args)`
  Constructor
  `CSRFValidationException(Throwable e, String code, Object... args)`
  Constructor

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### CSRFValidationException

    public CSRFValidationException(String code, Object... args)
    Constructor
    Parameters:
      `code` - message code to send back
      `args` - arguments for the message code

  - ### CSRFValidationException

    public CSRFValidationException(Throwable e, String code, Object... args)
    Constructor
    Parameters:
      `e` - the cause of this exception
      `code` - message code to send back
      `args` - arguments for the message code