Spring Security Framework

org.springframework.security.util
Interface ThrowableCauseExtractor


public interface ThrowableCauseExtractor

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

Since:
2.0
Version:
$Id$
Author:
Andreas Senft
See Also:
ThrowableAnalyzer

Method Summary
 Throwable extractCause(Throwable throwable)
          Extracts the cause from the provided Throwable.
 

Method Detail

extractCause

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

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.