aicas logoJamaica 6.1 release 1

java.lang
Class ArithmeticException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.ArithmeticException
All Implemented Interfaces:
Serializable

public class ArithmeticException
extends RuntimeException

ArithmeticException is thrown when an attempt is made to perform a integer or long devision with a divisor of 0.

Since:
1.0
See Also:
Serialized Form

Constructor Summary
ArithmeticException()
          Constructor for an ArithmeticException with no detail message.
ArithmeticException(String s)
          Constructor for an ArithmeticException with given detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArithmeticException

public ArithmeticException()
Constructor for an ArithmeticException with no detail message.


ArithmeticException

public ArithmeticException(String s)
Constructor for an ArithmeticException with given detail message.

ensures

    (s != null IMPLIES getMessage().equals(s));
 

Parameters:
s - the detail message.

aicas logoJamaica 6.1 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2012 aicas GmbH. All Rights Reserved.