openfeign of pit diary

   I feel like I haven't written an article for a long time. Ha ha, ha ha, a pit I stepped on yesterday afternoon has been solved this morning. I'm very happy, but I'm happy and clearly aware of my shortcomings, that is, when I encounter a bug I rarely encounter or even haven't encountered before, it's difficult to quickly locate and ...

Posted by zilem on Tue, 08 Feb 2022 10:23:57 +0100

Exception and multithreading review

1, Abnormal 1.1 concept of abnormality Exception: it is an abnormal condition that occurs during the execution of the program, which will eventually lead to the abnormal stop of the JVM. In object-oriented programming languages such as java, the exception itself is a class. Generating an exception is to create an exception object and thr ...

Posted by disconne on Tue, 01 Feb 2022 00:10:39 +0100

5, Common APIs in Java (classified by package) -- exceptions, multithreading and Lambda expressions

Java. Net has been introduced before Lang package. Today, we will add two common API s: Java Lang. throwable and Java lang.Thread 1, Exception (java.lang.Throwable) 1. What is abnormal: Exceptions in Java refer to abnormal conditions that occur during the execution of the program, which will eventually lead to abnormal stop of the JVM. In ob ...

Posted by dila125 on Sun, 16 Jan 2022 01:25:57 +0100

Java exception handling -- Java exceptions

Summary Java uses exceptions to represent errors, and catches exceptions through try... catch;The Java exception is class and inherits from Throwable;Error is a serious error that does not need to be captured, and Exception is a manageable error that should be captured;RuntimeException does not need to be forcibly captured, non runtimeExce ...

Posted by keystroke on Mon, 20 Dec 2021 04:02:03 +0100

Java recognition exception

catalogue 1. Abnormal background Initial anomaly Arithmetic anomaly Array subscript out of bounds exception Null pointer exception   Defensive programming   Exceptional benefits   2. Basic usage of exceptions Catch exception Exception handling process   Throw exception   Exception description   3. Java ...

Posted by primefalcon on Sat, 20 Nov 2021 19:23:49 +0100