public class NetException extends RuntimeException
| Constructor and Description |
|---|
NetException()
Constructs a new
NetException with "null" as its detail
message. |
NetException(String message)
Constructs a new
NetException with the specified detail message. |
NetException(String message,
Throwable cause)
Constructs a new
NetException with the specified detail message and cause. |
NetException(Throwable cause)
Constructs a new
NetException with the specified cause . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NetException()
NetException with "null" as its detail
message. The cause is not initialized, and may subsequently be
initialized by a call to the "initCause" method.public NetException(String message)
NetException with the specified detail message. The cause is not initialized, and may subsequently be
initialized by a call to "initCause" method.message - the detail message, which is saved for later retrieval by
the "getMessage()" method.public NetException(Throwable cause)
NetException with the specified cause .
The detail message is of this exception is computed by the expression
"(cause==null ? null : cause.toString())", which typically contains the
class name and message of cause.cause - the cause, which is saved for later retrieval by the "
getCause()" method. A null value is
permitted, and indicates that the cause is nonexistent or unknown.public NetException(String message, Throwable cause)
NetException with the specified detail message and cause. Note that the detail message associated with
cause is not automatically incorporated in this exception's
detail message.message - the detail message, which is saved for later retrieval by
the "getMessage()" method.cause - the cause, which is saved for later retrieval by the "
getCause()" method. A null value is
permitted, and indicates that the cause is nonexistent or unknown.Copyright © OBCOM INGENIERIA S.A. (Chile). All Rights Reserved.