Interface ExceptionMappingSource

All Known Implementing Classes:
AnnotationExceptionMappingSource, ReflectiveExceptionMappingSource

@Deprecated public interface ExceptionMappingSource
Deprecated.
This module is deprecated and will be removed in a future release. It is recommended to use REST according to IsyFacts REST Concept instead.
This interface can be used to determine the mapping rules for exceptions in a service implementation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<? extends de.bund.bva.pliscommon.exception.service.PlisTechnicalToException>
    Deprecated.
    Determines the generic, technical transport exception class to which all technical exceptions are mapped for which no specific mapping rule exists.
    Class<? extends de.bund.bva.pliscommon.exception.service.PlisToException>
    getToExceptionClass(Method remoteBeanMethod, Class<? extends BaseException> exceptionClass)
    Deprecated.
    Determines the transport exception class (To-Exception) for an exception class of the application core.
  • Method Details

    • getToExceptionClass

      Class<? extends de.bund.bva.pliscommon.exception.service.PlisToException> getToExceptionClass(Method remoteBeanMethod, Class<? extends BaseException> exceptionClass)
      Deprecated.
      Determines the transport exception class (To-Exception) for an exception class of the application core.
      Parameters:
      remoteBeanMethod - the RemoteBean method in which the exception was thrown
      exceptionClass - the class of the exception thrown in the application core.
      Returns:
      the transport exception class
    • getGenericTechnicalToException

      Class<? extends de.bund.bva.pliscommon.exception.service.PlisTechnicalToException> getGenericTechnicalToException(Method remoteBeanMethod)
      Deprecated.
      Determines the generic, technical transport exception class to which all technical exceptions are mapped for which no specific mapping rule exists.
      Parameters:
      remoteBeanMethod - the RemoteBean method in which the exception was thrown
      Returns:
      the generic, technical transport exception class