コード例 #1
0
 private Map<Class<? extends Throwable>, Command> makeNoSuchFileExceptionCommand() {
   final CommandBuilder builder = new CommandBuilder();
   builder.add(
       NoSuchFileException.class,
       new Command() {
         @Override
         public void execute() {
           view.handleNoSuchFileException();
           view.hideBusyIndicator();
         }
       });
   return builder.build();
 }