aicas logoJamaica 6.4 release 1

java.lang
Class InstantiationException

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

public class InstantiationException
extends Exception

InstantiationException is thrown when an attempt is made to instanciate an object via reflection without having the required access rights for the instantiation.

Since:
1.0
See Also:
Serialized Form

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

InstantiationException

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


InstantiationException

public InstantiationException(String s)
Constructor for an InstantiationException 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.