-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNegativeArraySizeException.java
More file actions
55 lines (51 loc) · 917 Bytes
/
NegativeArraySizeException.java
File metadata and controls
55 lines (51 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
* Copyright (c) 1994, 2008, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.lang;
/**
* Thrown if an application tries to create an array with negative size.
*
* @author unascribed
* @since JDK1.0
*/
public
class NegativeArraySizeException extends RuntimeException {
private static final long serialVersionUID = -8960118058596991861L;
/**
* Constructs a <code>NegativeArraySizeException</code> with no
* detail message.
*/
public NegativeArraySizeException() {
super();
}
/**
* Constructs a <code>NegativeArraySizeException</code> with the
* specified detail message.
*
* @param s the detail message.
*/
public NegativeArraySizeException(String s) {
super(s);
}
}