Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Error java.lang.LinkageError java.lang.IncompatibleClassChangeError java.lang.InstantiationError
public class InstantiationError extends IncompatibleClassChangeError
Thrown when an application tries to use the Java new
construct to instantiate an abstract class or an interface.
Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed.
Constructor and Description |
---|
InstantiationError()
Constructs an InstantiationError with no detail message. |
InstantiationError(String s)
Constructs an InstantiationError with the specified
detail message. |
Modifier and Type | Method and Description |
---|
Methods inherited from class java.lang.Throwable |
---|
addSuppressedException, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressedExceptions, 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 |
---|
public InstantiationError()
InstantiationError
with no detail message.
public InstantiationError(String s)
InstantiationError
with the specified
detail message.
s
- the detail message.
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.