org.springframework.security.web.util
Interface ThrowableCauseExtractor


public interface ThrowableCauseExtractor

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

Since:
2.0
Version:
$Id: ThrowableCauseExtractor.java 3606 2009-04-25 07:03:15Z ltaylor $
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


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