Skip to content

Commit 6cb034c

Browse files
catalin-burceajzheaux
authored andcommitted
Move articles out of core-java-lang part 1 (eugenp#7908)
1 parent aa88f13 commit 6cb034c

82 files changed

Lines changed: 128 additions & 1250 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
## Relevant Articles:
1+
## Core Java Exceptions
22

3-
- [Will an Error Be Caught by Catch Block in Java?](https://www.baeldung.com/java-error-catch)
4-
- [Java Global Exception Handler](http://www.baeldung.com/java-global-exception-handler)
5-
- [Common Java Exceptions](http://www.baeldung.com/java-common-exceptions)
6-
- [Throw Exception in Optional in Java 8](https://www.baeldung.com/java-optional-throw-exception)
7-
- [How to Find an Exception’s Root Cause in Java](https://www.baeldung.com/java-exception-root-cause)
8-
- [Java – Try with Resources](https://www.baeldung.com/java-try-with-resources)
3+
This module contains articles about core java exceptions
4+
5+
### Relevant articles:
6+
- [Chained Exceptions in Java](https://www.baeldung.com/java-chained-exceptions)
7+
- [ClassNotFoundException vs NoClassDefFoundError](https://www.baeldung.com/java-classnotfoundexception-and-noclassdeffounderror)
8+
- [Create a Custom Exception in Java](https://www.baeldung.com/java-new-custom-exception)
9+
- [Exception Handling in Java](https://www.baeldung.com/java-exceptions)
10+
- [Differences Between Final, Finally and Finalize in Java](https://www.baeldung.com/java-final-finally-finalize)
11+
- [Difference Between Throw and Throws in Java](https://www.baeldung.com/java-throw-throws)
12+
- [“Sneaky Throws” in Java](https://www.baeldung.com/java-sneaky-throws)
13+
- [The StackOverflowError in Java](https://www.baeldung.com/java-stack-overflow-error)
Lines changed: 41 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,46 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
12
<project xmlns="http://maven.apache.org/POM/4.0.0"
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4-
<modelVersion>4.0.0</modelVersion>
5-
<groupId>com.baeldung.exception.numberformat</groupId>
6-
<artifactId>core-java-exceptions</artifactId>
7-
<version>0.0.1-SNAPSHOT</version>
8-
<name>core-java-exceptions</name>
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<groupId>com.baeldung.exceptions</groupId>
6+
<modelVersion>4.0.0</modelVersion>
7+
<artifactId>core-java-exceptions</artifactId>
8+
<version>0.1.0-SNAPSHOT</version>
9+
<name>core-java-exceptions</name>
10+
<packaging>jar</packaging>
911

10-
<parent>
11-
<groupId>com.baeldung</groupId>
12-
<artifactId>parent-java</artifactId>
13-
<version>0.0.1-SNAPSHOT</version>
14-
<relativePath>../../parent-java</relativePath>
15-
</parent>
12+
<parent>
13+
<groupId>com.baeldung</groupId>
14+
<artifactId>parent-java</artifactId>
15+
<version>0.0.1-SNAPSHOT</version>
16+
<relativePath>../../parent-java</relativePath>
17+
</parent>
1618

17-
<dependencies>
18-
<dependency>
19-
<groupId>junit</groupId>
20-
<artifactId>junit</artifactId>
21-
<version>${junit.version}</version>
22-
<scope>test</scope>
23-
</dependency>
24-
<dependency>
25-
<groupId>org.apache.commons</groupId>
26-
<artifactId>commons-lang3</artifactId>
27-
<version>${commons-lang3.version}</version>
28-
</dependency>
29-
<dependency>
30-
<groupId>org.openjdk.jmh</groupId>
31-
<artifactId>jmh-core</artifactId>
32-
<version>${jmh-core.version}</version>
33-
</dependency>
34-
<dependency>
35-
<groupId>org.openjdk.jmh</groupId>
36-
<artifactId>jmh-generator-annprocess</artifactId>
37-
<version>${jmh-generator-annprocess.version}</version>
38-
</dependency>
39-
<!-- test scoped -->
40-
<dependency>
41-
<groupId>org.assertj</groupId>
42-
<artifactId>assertj-core</artifactId>
43-
<version>${assertj-core.version}</version>
44-
<scope>test</scope>
45-
</dependency>
46-
</dependencies>
19+
<dependencies>
20+
<dependency>
21+
<groupId>javax.mail</groupId>
22+
<artifactId>mail</artifactId>
23+
<version>${javax.mail.version}</version>
24+
</dependency>
25+
<dependency>
26+
<groupId>org.projectlombok</groupId>
27+
<artifactId>lombok</artifactId>
28+
<version>${lombok.version}</version>
29+
<scope>provided</scope>
30+
</dependency>
31+
<!-- test scoped -->
32+
<dependency>
33+
<groupId>org.assertj</groupId>
34+
<artifactId>assertj-core</artifactId>
35+
<version>${assertj-core.version}</version>
36+
<scope>test</scope>
37+
</dependency>
38+
</dependencies>
4739

48-
<properties>
49-
<commons-lang3.version>3.9</commons-lang3.version>
50-
<jmh-core.version>1.19</jmh-core.version>
51-
<assertj-core.version>3.10.0</assertj-core.version>
52-
<jmh-generator-annprocess.version>1.19</jmh-generator-annprocess.version>
53-
</properties>
40+
<properties>
41+
<javax.mail.version>1.5.0-b01</javax.mail.version>
42+
<!-- testing -->
43+
<assertj-core.version>3.10.0</assertj-core.version>
44+
</properties>
5445

55-
</project>
46+
</project>

core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/Arithmetic.java

Lines changed: 0 additions & 20 deletions
This file was deleted.

core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/ArrayIndexOutOfBounds.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/CheckedUncheckedExceptions.java

Lines changed: 0 additions & 43 deletions
This file was deleted.

core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/ClassCast.java

Lines changed: 0 additions & 36 deletions
This file was deleted.

core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/FileNotFound.java

Lines changed: 0 additions & 25 deletions
This file was deleted.

core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/GlobalExceptionHandler.java

Lines changed: 0 additions & 28 deletions
This file was deleted.

core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/IllegalArgument.java

Lines changed: 0 additions & 18 deletions
This file was deleted.

core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/IllegalState.java

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)