tecgraf.ftc_1_3.server
Class DefaultFileServerExceptionHandler

java.lang.Object
  extended by 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

Constructor Summary
DefaultFileServerExceptionHandler()
           
 
Method Summary
 void exceptionRaised(Exception e)
          Invocado quando uma exceção é lançada no servidor.
 void exceptionRaised(Exception e, byte[] fileId)
          Invocado quando uma exceção é lançada no servidor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFileServerExceptionHandler

public DefaultFileServerExceptionHandler()
Method Detail

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.