aicas logoJamaica 6.4 release 1

java.lang
Class InstantiationError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by java.lang.LinkageError
              extended by java.lang.IncompatibleClassChangeError
                  extended by java.lang.InstantiationError
All Implemented Interfaces:
Serializable

public class InstantiationError
extends IncompatibleClassChangeError

InstantiationError is an IncompatibleClassChangeError that is thrown by the VM if an attempt is made to instantiate an object of a class without having the required access rights (e.g., the constructor is private).

Since:
1.0
See Also:
Serialized Form

Constructor Summary
InstantiationError()
          Constructor for an InstantiationError with no detail message.
InstantiationError(String s)
          Constructor for an InstantiationError 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

InstantiationError

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


InstantiationError

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

ensures

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

Parameters:
s - the detail message.

aicas logoJamaica 6.4 release 1

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