org.springframework.richclient.exceptionhandling
Class HibernateValidatorDialogExceptionHandler

java.lang.Object
  extended by org.springframework.richclient.exceptionhandling.AbstractRegisterableExceptionHandler
      extended by org.springframework.richclient.exceptionhandling.AbstractLoggingExceptionHandler
          extended by org.springframework.richclient.exceptionhandling.AbstractDialogExceptionHandler
              extended by org.springframework.richclient.exceptionhandling.HibernateValidatorDialogExceptionHandler
All Implemented Interfaces:
Thread.UncaughtExceptionHandler, InitializingBean, RegisterableExceptionHandler

public class HibernateValidatorDialogExceptionHandler
extends AbstractDialogExceptionHandler

Displays the validation errors to the user.

Since:
0.3
Author:
Geoffrey De Smet

Field Summary
 
Fields inherited from class org.springframework.richclient.exceptionhandling.AbstractDialogExceptionHandler
messageSourceAccessor, modalDialog, shutdownPolicy
 
Fields inherited from class org.springframework.richclient.exceptionhandling.AbstractLoggingExceptionHandler
exceptionPurger, LOG_MESSAGE, logger, logLevel
 
Constructor Summary
HibernateValidatorDialogExceptionHandler()
           
 
Method Summary
 Object createExceptionContent(Throwable throwable)
           
 String resolveExceptionCaption(Throwable throwable)
           
 
Methods inherited from class org.springframework.richclient.exceptionhandling.AbstractDialogExceptionHandler
afterPropertiesSet, notifyUserAboutException, resolveParentFrame, setMessageSourceAccessor, setModalDialog, setShutdownPolicy
 
Methods inherited from class org.springframework.richclient.exceptionhandling.AbstractLoggingExceptionHandler
logException, setExceptionPurger, setLogLevel, uncaughtException
 
Methods inherited from class org.springframework.richclient.exceptionhandling.AbstractRegisterableExceptionHandler
registerExceptionHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateValidatorDialogExceptionHandler

public HibernateValidatorDialogExceptionHandler()
Method Detail

resolveExceptionCaption

public String resolveExceptionCaption(Throwable throwable)
Specified by:
resolveExceptionCaption in class AbstractDialogExceptionHandler

createExceptionContent

public Object createExceptionContent(Throwable throwable)
Specified by:
createExceptionContent in class AbstractDialogExceptionHandler


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.