Tuesday 12 March 2013

java.lang NegativeArraySizeException


java.lang
NegativeArraySizeException

Declaration
public class NegativeArraySizeException extends RuntimeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.NegativeArraySizeException
Description
Thrown if an application tries to create an array with negative size.

Constructors
NegativeArraySizeException()
NegativeArraySizeException(String s)

Methods inherited from class Object
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()
Methods inherited from class Throwable
getMessage(), printStackTrace(), toString()

Constructors
NegativeArraySizeException()
Declaration:
public NegativeArraySizeException()
Description:
Constructs a NegativeArraySizeException with no detail message.

NegativeArraySizeException(String)
Declaration:
public NegativeArraySizeException(java.lang.String s)
Description:
Constructs a NegativeArraySizeException with the specified detail message.
Parameters:
s - the detail message.












No comments:

Post a Comment