fantow opened a new issue, #7829:
URL: https://github.com/apache/rocketmq/issues/7829

   ### Before Creating the Bug Report
   
   - [X] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [X] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq/discussions)  of this 
repository and believe that this is not a duplicate.
   
   - [X] I have confirmed that this bug belongs to the current repository, not 
other repositories of RocketMQ.
   
   
   ### Runtime platform environment
   
   Linux 
   
   ### RocketMQ version
   
   The latest.
   
   ### JDK Version
   
   _No response_
   
   ### Describe the Bug
   
   org.apache.rocketmq.remoting.protocol.SerializeType.valueOf(byte code) can 
not throw the IllegalArgumentException .We can not locate the mistake when 
there are something wrong in SerializeType.
   
![88481150-62e88c80-cf8c-11ea-9af4-497d238fe8ac](https://github.com/apache/rocketmq/assets/18530950/f568d2c3-4aac-41f8-9590-6215f436f785)
   
   **May I submit a PR to fix it?**
   
   ### Steps to Reproduce
   
   When I want to set my own serialize method.
   
   ### What Did You Expect to See?
   
   Just throw the exception when can't get any code.
   
   ### What Did You See Instead?
   
   Throw a clear exception.
   
   ### Additional Context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to