tecgraf.ftc_1_3.server
Class DefaultFileServerExceptionHandler
java.lang.Object
tecgraf.ftc_1_3.server.DefaultFileServerExceptionHandler
- All Implemented Interfaces:
- FileServerExceptionHandler
public class DefaultFileServerExceptionHandler
- extends Object
- implements FileServerExceptionHandler
Classe que implementa um handler padrao de exceções para o servidor de
arquivos
- Author:
- Tecgraf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFileServerExceptionHandler
public DefaultFileServerExceptionHandler()
exceptionRaised
public void exceptionRaised(Exception e,
byte[] fileId)
- Invocado quando uma exceção é lançada no servidor.
- Specified by:
exceptionRaised in interface FileServerExceptionHandler
- Parameters:
e - A exceção lançada.fileId - O identificador do arquivo envolvido no momento do erro
exceptionRaised
public void exceptionRaised(Exception e)
- Invocado quando uma exceção é lançada no servidor.
- Specified by:
exceptionRaised in interface FileServerExceptionHandler
- Parameters:
e - A exceção lançada.
Copyright © 2018 Tecgraf/PUC-Rio. All rights reserved.