diff options
Diffstat (limited to 'java/project/src/main/ch/asynk')
-rw-r--r-- | java/project/src/main/ch/asynk/Main.java | 22 | ||||
-rw-r--r-- | java/project/src/main/ch/asynk/MyClass.java | 25 | ||||
-rw-r--r-- | java/project/src/main/ch/asynk/MyException.java | 11 |
3 files changed, 0 insertions, 58 deletions
diff --git a/java/project/src/main/ch/asynk/Main.java b/java/project/src/main/ch/asynk/Main.java deleted file mode 100644 index bb187bf..0000000 --- a/java/project/src/main/ch/asynk/Main.java +++ /dev/null @@ -1,22 +0,0 @@ -package ch.asynk; - -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class Main -{ - private static Logger logger = null; - - public static void main(String [] args ) - { - logger = LoggerFactory.getLogger(Main.class); - System.out.println("System.out"); - System.err.println("System.err"); - logger.trace("trace"); - logger.debug("debug"); - logger.info("info"); - logger.warn("warn"); - logger.error("error"); - System.exit(0); - } -} diff --git a/java/project/src/main/ch/asynk/MyClass.java b/java/project/src/main/ch/asynk/MyClass.java deleted file mode 100644 index 57ef46f..0000000 --- a/java/project/src/main/ch/asynk/MyClass.java +++ /dev/null @@ -1,25 +0,0 @@ -package ch.asynk; - -import lombok.Getter; - -public class MyClass -{ - static private String msg = "Hello World"; - - private @Getter int n; - - public MyClass() - { - n = 666; - } - - public void print() - { - System.err.println(msg); - } - - public void exception() throws MyException - { - throw new MyException("it's mine"); - } -} diff --git a/java/project/src/main/ch/asynk/MyException.java b/java/project/src/main/ch/asynk/MyException.java deleted file mode 100644 index 06203ae..0000000 --- a/java/project/src/main/ch/asynk/MyException.java +++ /dev/null @@ -1,11 +0,0 @@ -package ch.asynk; - -public class MyException extends Exception -{ - private static final long serialVersionUID = 01235; - - public MyException(String message) - { - super(message); - } -} |