org.jboss.virtual.spi
Interface ExceptionHandler

All Known Implementing Classes:
AbstractExceptionHandler, NamesExceptionHandler

public interface ExceptionHandler

VFS exception handler. Custom exception handling methods shoud be added here and used at the pointcut where exception is thrown. Its abstract super class should implement them all hence back compatibility is assured by noop. Real handlers should just override some methods that they know how to handle.

Author:
Ales Justin

Method Summary
 void handleZipEntriesInitException(Exception e, String name)
          Handle zip entries initializaion exception.
 

Method Detail

handleZipEntriesInitException

void handleZipEntriesInitException(Exception e,
                                   String name)
Handle zip entries initializaion exception.

Parameters:
e - the cause exception
name - the file name
Throws:
RuntimeException - if not handled


Copyright © 2009 JBoss, A division of Red Hat, Inc. All Rights Reserved.