public class Net2PlanException extends RuntimeException
Net2PlanException
is the superclass of those exceptions that can be
thrown during the normal operation of algorithms or reports.
It is devoted to situations like wrong input parameters. Contrary to other
exceptions, it has a special treatment by Net2Plan kernel: a popup with the
message will be thrown, instead of redirecting the message and stack trace
to the error console.RuntimeException
,
Serialized FormConstructor and Description |
---|
Net2PlanException()
Default constructor.
|
Net2PlanException(String message)
Constructs a new
Net2PlanException exception with the specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public Net2PlanException()
public Net2PlanException(String message)
Net2PlanException
exception with the specified detail message.message
- Message to be retrieved by the Throwable.getMessage()
method.Copyright © 2018. All rights reserved.