java.lang
public class ArithmeticException extends RuntimeException
int i = 0; int j = 2 / i;
Constructor and Description |
---|
ArithmeticException()
Create an exception without a message.
|
ArithmeticException(String s)
Create an exception with a message.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ArithmeticException()
public ArithmeticException(String s)
s
- the message