public interface

ThrowableCauseExtractor

org.springframework.security.web.util.ThrowableCauseExtractor

Class Overview

Interface for handlers extracting the cause out of a specific Throwable type.

Summary

Public Methods
abstract Throwable extractCause(Throwable throwable)
Extracts the cause from the provided Throwable.

Public Methods

public abstract Throwable extractCause (Throwable throwable)

Extracts the cause from the provided Throwable.

Parameters
throwable the Throwable
Returns
  • the extracted cause (maybe null)
Throws
IllegalArgumentException if throwable is null or otherwise considered invalid for the implementation