Class ViewExceptionHandler
java.lang.Object
de.unibamberg.minf.core.web.controller.BaseNavigatingController
de.unibamberg.minf.core.web.controller.BaseTranslationController
de.uniba.minf.registry.view.controller.BaseViewController
de.uniba.minf.registry.view.controller.ViewExceptionHandler
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
-
Field Summary
FieldsFields inherited from class de.uniba.minf.registry.view.controller.BaseViewController
authInfoHelper, baseUrl, entityDefinitionRepository, entityDefinitionService, entityRepository, vocabularyDefinitionRepositoryFields inherited from class de.unibamberg.minf.core.web.controller.BaseTranslationController
messageSource, objectMapperFields inherited from class de.unibamberg.minf.core.web.controller.BaseNavigatingController
appContext, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefaultErrorHandler(org.springframework.ui.Model model, jakarta.servlet.http.HttpServletRequest req, Exception e) Methods inherited from class de.uniba.minf.registry.view.controller.BaseViewController
getDraftCount, getPrimaryEntityDefinitions, getPrimaryEntityDefinitionsOrAll, getSecondaryEntityDefinitions, getSecondaryEntityDefinitionsOrEmpty, getSystemEntityDefinitions, getSystemVocabularyDefinitions, getVocabularyDefinitions, handleRuntimeExceptionMethods inherited from class de.unibamberg.minf.core.web.controller.BaseTranslationController
getActionResult, getJsonErrorList, getTranslationsMethods inherited from class de.unibamberg.minf.core.web.controller.BaseNavigatingController
afterPropertiesSet, getBuildProperties, getLoginUrl, getLogoutUrl, getNavigation, getNuance, getRefreshViews, overrideNavItem, setApplicationContext
-
Field Details
-
DEFAULT_ERROR_VIEW
- See Also:
-
-
Constructor Details
-
ViewExceptionHandler
public ViewExceptionHandler()
-
-
Method Details
-
defaultErrorHandler
@ExceptionHandler(java.lang.Exception.class) public String defaultErrorHandler(org.springframework.ui.Model model, jakarta.servlet.http.HttpServletRequest req, Exception e) throws Exception - Throws:
Exception
-