[infinispan-issues] [JBoss JIRA] (ISPN-10964) Provide Exceptions for unsupported operations with APPLICATION_UNKNOWN

Ryan Emerson (Jira) issues at jboss.org
Tue Nov 19 05:31:00 EST 2019


     [ https://issues.jboss.org/browse/ISPN-10964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Emerson updated ISPN-10964:
--------------------------------
    Description: 
The default media type for cache types is APPLICATION_UNKNOWN if not explicitly configured by the user. However, APPLICATION_UNKNOWN is not supported when using the following:

* Filters
* Converters
* Transcoders (works sometimes, best effort)

Instead of failures occurring at runtime, we should throw a configuration exception where possible. In the case of the transcoder, we should either throw a more meaningful exception when transcoding fails or remove the ability to transcode APPLICATION_UNKNOWN sources.

The exception(s) should instruct the user to explicitly configure the media type.

  was:
The default media type for cache types is APPLICATION_UNKNOWN if not explicitly configured by the user. However, APPLICATION_UNKNOWN is not supported when using the following:

* Filters
* Converters
* Transcoders (works sometimes, best effort)

Instead of failures occurring at runtime, we should throw a configuration exception where possible. In the case of the transcoder, we should either throw a more meaningful exception when transcoding fails or remove the ability to transcode APPLICATION_UNKNOWN sources.



> Provide Exceptions for unsupported operations with APPLICATION_UNKNOWN
> ----------------------------------------------------------------------
>
>                 Key: ISPN-10964
>                 URL: https://issues.jboss.org/browse/ISPN-10964
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Server
>    Affects Versions: 10.1.0.Beta1
>            Reporter: Ryan Emerson
>            Priority: Major
>
> The default media type for cache types is APPLICATION_UNKNOWN if not explicitly configured by the user. However, APPLICATION_UNKNOWN is not supported when using the following:
> * Filters
> * Converters
> * Transcoders (works sometimes, best effort)
> Instead of failures occurring at runtime, we should throw a configuration exception where possible. In the case of the transcoder, we should either throw a more meaningful exception when transcoding fails or remove the ability to transcode APPLICATION_UNKNOWN sources.
> The exception(s) should instruct the user to explicitly configure the media type.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list