예제 #1
0
 /**
  * Method for finding the error handler for the given session.
  *
  * @param connector The target connector
  * @return An ErrorHandler for the session or null if none was found
  */
 public static ErrorHandler findErrorHandler(VaadinSession session) {
   if (session == null) {
     return null;
   }
   return session.getErrorHandler();
 }