• Good e-commerce,Welcome!
Home > Platform EC > Alibaba

Does the Alibaba address exception need to be handled?

| 1Person Answer

在处理阿里巴巴地址异常时,捕获异常的初衷是为了处理它。因此,如果您的应用程序捕获了这种异常,那么最好不要什么都不处理而抛弃之。如果不想处理这个异常,建议将该异常抛给它的调用者。最外层的业务使用者必须处理这种异常,将其转化为用户可以理解为的内容。这是遵循阿里巴巴《Java 开发手册》中关于异常处理的推荐。

Professional answer

P

电商老高

电商老高归属于上海宣名网络,专业运营电商圈子,专注于电商人脉、资讯、交流、资源整合等。

When handling the Alibaba address exception, the original intention of catching the exception is to handle it. Therefore, if your application catches this exception, it is best not to discard it without handling it. If you do not want to handle this exception, it is recommended to throw the exception to its caller. The outermost business user must handle this exception and convert it into something that the user can understand. This is in accordance with the recommendations on exception handling in Alibaba's "Java Development Manual".

Similar Q&A

recommend What is the name of Alibaba's artificial intelligence?

    E-c News Continuously pushing e-commerce knowledge to you

    African netizens use China Africa cross-border e-commerce platform for online shopping
    looking at China's modern business history, the word "profiteer" must be familiar to everyone. To put it bluntly, profiteer is a person who earns a pric...
    how is the new seller of cross-border e-commerce doing?
    I believe many treasure mothers have an idea to do their own business and want to increase their income. Go to work, but you can't take care of your chi...
    how can cross-border e-commerce Amazon sell on Amazon platform without goods?
    cross border e-commerce trade entities in different customs territories conduct trade on the Internet, and then complete the whole transaction through cross-...
    Amazon store opening process and cost analysis!
    With the rapid development of cross-border e-commerce, more and more sellers want to enter Amazon. However, many people are still new to Amazon's cross-...
    Amazon plans to expand its pharmacy business on a large scale and will add same day delivery service
    Amazon Pharmacy says its growth strategy relies on the development and launch of “modular” pharmacies of varying sizes. (Amazon)
    It's convenient! Taobao adds WeChat Pay function
    On September 4th, Taobao and Tmall announced that in order to enhance consumers' shopping experience, Taobao plans to add WeChat payment capabilities an...
    China's Taobao working with startup on deliveries by reusable rocket
    SHENZHEN, China (hb2b) - Chinese rocket maker Space Epoch is working with Alibaba's online shopping platform Taobao to make reusable rockets for express...

    Latest Q&A More

    Popular tags