public class NotImplementedException extends RuntimeException
Details:
A NotImplementedException
is thrown when a method is called, a case invoked, or a feature is requested that has not been implemented.
Constructor and Description |
---|
NotImplementedException()
Initializes without detail.
|
NotImplementedException(String iDetail)
Initializes with detail.
|
NotImplementedException(String iMessage,
Throwable iCause) |
NotImplementedException(Throwable iCause) |
Modifier and Type | Method and Description |
---|---|
static void |
trace()
Prints stack trace of unimplemented execution path.
|
static void |
trace(String iDetail)
Prints stack trace of unimplemented execution path.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NotImplementedException()
Details: This default constructor initializes a new instance without a detail message.
public NotImplementedException(String iDetail)
Details: This constructor initializes a new instance with the given detail message.
iDetail
- the messsagepublic NotImplementedException(Throwable iCause)
public static void trace(String iDetail)
Details: trace
instantiates a new NotImplementedException
without throwing it, and then outputs its stack trace to System.err
.
This is useful for tracking unfinished code paths which must be allowed to operate, albeit temporarily, in their unfinished state.
The provided detail message is included in the stack trace.
iDetail
- detail messagetrace()
public static void trace()
Details:
trace()
is the same as trace(String)
, except that no detail message is used.
trace(String)
Copyright © 2013. All Rights Reserved.