Provide information for the user about technical exceptions

Description

Migrated from NovaTec Jira. Original ticket: INSPECTIT-632

It is important that we have a proper exception handling in the CMR (at the service interface) in place and that this information is displayed to the user in a meaningful way (raw exceptions aren't very meaningful). We should add an exception interceptor for this which enhances/modifies the existing exceptions so that the UI can display some information alongside this exception etc.

Environment

None

Activity

Show:
Stefan Siegl
July 7, 2015, 2:39 PM

2012-04-05T08:38:37.000+0200 by Patrice Bouillet

It depends on the exception being thrown. In one way, an exception should have a meaning to the user (server down, not reachable etc.) and on the other side if there is a real exception in the UI, there should be an easy way for the user to send us this information so we can take care of it. Let's discuss this topic on friday on how to handle and integrate this in a good way.

Stefan Siegl
July 7, 2015, 2:39 PM

2014-11-03T11:29:35.000+0100 by Ivan Senic

Moving to 1.6.3 since we want to release 1.6.2 as soon as possible.

Stefan Siegl
July 7, 2015, 2:39 PM

2014-09-23T16:47:06.000+0200 by Ivan Senic

This must be done alongside INSPECTIT-978.

Ivan Senic
July 20, 2015, 8:53 AM

Old MR @ http://git.novatec-gmbh.de/inspectit-project/inspectit/merge_requests/678, please check the comments I left on the old one prior to integrating..

Technical User
August 7, 2015, 6:55 AM

SUCCESS: Integrated in

inspectIT - Integration #52
INSPECTIT-1925: Remote and business exceptions for correct exception (patrice.bouillet: 7cf841f662fe277f301b407ab49574f566c583c0)

  • CMR/test/info/novatec/inspectit/cmr/service/GlobalDataAccessServiceTest.java

  • CMR/src/info/novatec/inspectit/cmr/spring/exporter/KryoHttpInvokerServiceExporter.java

  • inspectIT/src/info/novatec/inspectit/rcp/view/impl/StorageManagerView.java

  • CMR/test/info/novatec/inspectit/cmr/service/rest/StorageRestfulServiceTest.java

  • CommonsCS/src/info/novatec/inspectit/cmr/service/IStorageService.java

  • inspectIT/src/info/novatec/inspectit/rcp/wizard/CreateStorageWizard.java

  • inspectIT/src/info/novatec/inspectit/rcp/storage/InspectITStorageManager.java

  • inspectIT/src/info/novatec/inspectit/rcp/repository/service/storage/StorageGlobalDataAccessService.java

  • inspectIT/src/info/novatec/inspectit/rcp/wizard/AddStorageLabelWizard.java

  • CommonsCS/src/info/novatec/inspectit/storage/StorageException.java

  • CMR/test/info/novatec/inspectit/cmr/storage/CmrStorageRecorderTest.java

  • Commons/META-INF/MANIFEST.MF

  • Agent/src/info/novatec/inspectit/agent/connection/impl/KryoNetConnection.java

  • CommonsCS/src/info/novatec/inspectit/cmr/service/IGlobalDataAccessService.java

  • CMR/src/info/novatec/inspectit/cmr/service/RegistrationService.java

  • CMR/src/info/novatec/inspectit/cmr/storage/CmrStorageManager.java

  • inspectIT/src/info/novatec/inspectit/rcp/wizard/ManageLabelWizard.java

  • CMR/src/info/novatec/inspectit/cmr/service/GlobalDataAccessService.java

  • inspectIT/src/info/novatec/inspectit/rcp/wizard/CopyBufferToStorageWizard.java

  • CMR/src/info/novatec/inspectit/cmr/spring/aop/ExceptionInterceptor.java

  • CMR/test/info/novatec/inspectit/cmr/storage/CmrStorageManagerTest.java

  • Commons/src/info/novatec/inspectit/cmr/service/IAgentStorageService.java

  • inspectIT/src/info/novatec/inspectit/rcp/view/impl/DataExplorerView.java

  • Commons/src/info/novatec/inspectit/exception/IErrorCode.java

  • CommonsCS/src/info/novatec/inspectit/storage/label/management/impl/RemoveLabelManagementAction.java

  • CMR/src/info/novatec/inspectit/cmr/dao/StorageDataDao.java

  • CMR/src/info/novatec/inspectit/cmr/service/AgentStorageService.java

  • inspectIT/src/info/novatec/inspectit/rcp/wizard/StartRecordingWizard.java

  • Commons/src/info/novatec/inspectit/storage/serializer/impl/SerializationManager.java

  • CommonsCS/src/info/novatec/inspectit/cmr/service/cache/CachedDataService.java

  • inspectIT/src/info/novatec/inspectit/rcp/repository/service/storage/AbstractStorageService.java

  • CMR/src/info/novatec/inspectit/cmr/service/StorageService.java

  • CMR/test/info/novatec/inspectit/cmr/spring/aop/ExceptionInterceptorTest.java

  • inspectIT/src/info/novatec/inspectit/rcp/storage/util/DataUploader.java

  • CMR/test/info/novatec/inspectit/storage/StorageIntegrationTest.java

  • CMR/src/info/novatec/inspectit/cmr/service/rest/StorageRestfulService.java

  • CommonsCS/test/info/novatec/inspectit/cmr/service/cache/CachedDataServiceTest.java

  • inspectIT/src/info/novatec/inspectit/rcp/handlers/DeleteAgentHandler.java

  • CMR/logging-config.xml

  • Commons/src/info/novatec/inspectit/exception/RemoteException.java

  • CommonsCS/test/info/novatec/inspectit/storage/serializer/impl/SerializerTest.java

  • inspectIT/src/info/novatec/inspectit/rcp/handlers/RemoveStorageLabelHandler.java

  • inspectIT/src/info/novatec/inspectit/rcp/handlers/StopRecordingHanlder.java

  • Commons/src/info/novatec/inspectit/exception/enumeration/AgentManagementErrorCodeEnum.java

  • CommonsCS/src/info/novatec/inspectit/storage/StorageManager.java

  • CMR/test/info/novatec/inspectit/cmr/service/RegistrationServiceTest.java

  • CMR/resources/testng/testng.xml

  • Commons/src/info/novatec/inspectit/cmr/service/IRegistrationService.java

  • inspectIT/src/info/novatec/inspectit/rcp/handlers/DeleteStorageHandler.java

  • CommonsCS/src/info/novatec/inspectit/storage/serializer/SerializationManagerPostProcessor.java

  • CommonsCS/src/info/novatec/inspectit/storage/label/management/AbstractLabelManagementAction.java

  • Commons/src/info/novatec/inspectit/exception/TechnicalException.java

  • CMR/src/info/novatec/inspectit/cmr/storage/CmrStorageRecorder.java

  • inspectIT/src/info/novatec/inspectit/rcp/wizard/ImportStorageWizard.java

  • inspectIT/src/info/novatec/inspectit/rcp/wizard/CopyDataToStorageWizard.java

  • CommonsCS/test/info/novatec/inspectit/storage/label/management/impl/LabelManagementActionsTest.java

  • inspectIT/src/info/novatec/inspectit/rcp/handlers/CloseStorageHandler.java

  • CMR/src/info/novatec/inspectit/cmr/dao/impl/StorageDataDaoImpl.java

  • Commons/src/info/novatec/inspectit/exception/enumeration/StorageErrorCodeEnum.java

  • Commons/src/info/novatec/inspectit/cmr/service/exception/ServiceException.java

  • Commons/src/info/novatec/inspectit/exception/BusinessException.java

  • inspectIT/src/info/novatec/inspectit/rcp/form/StorageDataPropertyForm.java

  • inspectIT/src/info/novatec/inspectit/rcp/handlers/EditStorageDataHandler.java

  • inspectIT/src/info/novatec/inspectit/rcp/storage/util/DataRetriever.java

Assignee

Ivan Senic

Reporter

Stefan Siegl

Labels

None

Integrator

Patrice Bouillet

Components

Sprint

None

Fix versions

Priority

Medium
Configure