diff options
Diffstat (limited to 'modules/exception')
| -rw-r--r-- | modules/exception/.classpath | 20 | ||||
| -rw-r--r-- | modules/exception/.project | 28 | ||||
| -rw-r--r-- | modules/exception/src/confing.properties | 0 | ||||
| -rw-r--r-- | modules/exception/src/main/java/market/guess/exception/GuessMarketException.java | 7 | ||||
| -rw-r--r-- | modules/exception/src/test/java/com/example/AppTest.java | 3 |
5 files changed, 58 insertions, 0 deletions
diff --git a/modules/exception/.classpath b/modules/exception/.classpath new file mode 100644 index 0000000..7f8bc25 --- /dev/null +++ b/modules/exception/.classpath | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <classpath> | ||
| 3 | <!-- Defines your source folder --> | ||
| 4 | <classpathentry kind="src" output="bin/classes" path="src/main/java"> | ||
| 5 | <attributes> | ||
| 6 | <attribute name="optional" value="true"/> | ||
| 7 | </attributes> | ||
| 8 | </classpathentry> | ||
| 9 | <classpathentry kind="src" output="bin/test-classes" path="src/test/java"> | ||
| 10 | <attributes> | ||
| 11 | <attribute name="optional" value="true"/> | ||
| 12 | <attribute name="test" value="true"/> | ||
| 13 | </attributes> | ||
| 14 | </classpathentry> | ||
| 15 | <!-- Defines the standard Java System Library --> | ||
| 16 | <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
| 17 | <!-- Defines where compiled .class files go --> | ||
| 18 | <classpathentry kind="output" path="bin"/> | ||
| 19 | </classpath> | ||
| 20 | |||
diff --git a/modules/exception/.project b/modules/exception/.project new file mode 100644 index 0000000..5af632c --- /dev/null +++ b/modules/exception/.project | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <projectDescription> | ||
| 3 | <name>guess-market-exception</name> | ||
| 4 | <comment></comment> | ||
| 5 | <projects> | ||
| 6 | </projects> | ||
| 7 | <buildSpec> | ||
| 8 | <buildCommand> | ||
| 9 | <name>org.eclipse.jdt.core.javabuilder</name> | ||
| 10 | <arguments> | ||
| 11 | </arguments> | ||
| 12 | </buildCommand> | ||
| 13 | </buildSpec> | ||
| 14 | <natures> | ||
| 15 | <nature>org.eclipse.jdt.core.javanature</nature> | ||
| 16 | </natures> | ||
| 17 | <filteredResources> | ||
| 18 | <filter> | ||
| 19 | <id>1784965956299</id> | ||
| 20 | <name></name> | ||
| 21 | <type>30</type> | ||
| 22 | <matcher> | ||
| 23 | <id>org.eclipse.core.resources.regexFilterMatcher</id> | ||
| 24 | <arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments> | ||
| 25 | </matcher> | ||
| 26 | </filter> | ||
| 27 | </filteredResources> | ||
| 28 | </projectDescription> | ||
diff --git a/modules/exception/src/confing.properties b/modules/exception/src/confing.properties new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/modules/exception/src/confing.properties | |||
diff --git a/modules/exception/src/main/java/market/guess/exception/GuessMarketException.java b/modules/exception/src/main/java/market/guess/exception/GuessMarketException.java new file mode 100644 index 0000000..68a3053 --- /dev/null +++ b/modules/exception/src/main/java/market/guess/exception/GuessMarketException.java | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | package market.guess.exception; | ||
| 2 | |||
| 3 | public class GuessMarketException extends Exception { | ||
| 4 | public GuessMarketException(String message) { | ||
| 5 | super(message); | ||
| 6 | } | ||
| 7 | } | ||
diff --git a/modules/exception/src/test/java/com/example/AppTest.java b/modules/exception/src/test/java/com/example/AppTest.java new file mode 100644 index 0000000..0b08c28 --- /dev/null +++ b/modules/exception/src/test/java/com/example/AppTest.java | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | package com.example; | ||
| 2 | |||
| 3 | public class AppTest {} | ||