java.lang
Class InstantiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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 GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.