summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/compiler/notNullVerification/CustomExceptionType.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/java-tests/testData/compiler/notNullVerification/CustomExceptionType.java')
-rw-r--r--java/java-tests/testData/compiler/notNullVerification/CustomExceptionType.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/java/java-tests/testData/compiler/notNullVerification/CustomExceptionType.java b/java/java-tests/testData/compiler/notNullVerification/CustomExceptionType.java
new file mode 100644
index 000000000000..055b339c5f9c
--- /dev/null
+++ b/java/java-tests/testData/compiler/notNullVerification/CustomExceptionType.java
@@ -0,0 +1,5 @@
+import org.jetbrains.annotations.NotNull;
+
+public class CustomExceptionType {
+ public void foo(Object obj, @NotNull(exception = NullPointerException.class) Object obj2) { }
+} \ No newline at end of file