Package dev.gmitch215.bytebox.net
Class ConnectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
dev.gmitch215.bytebox.net.SocketException
dev.gmitch215.bytebox.net.ConnectException
- All Implemented Interfaces:
Serializable
A connection was refused, standing in for
java.net.ConnectException.
Absent from the class library, and supplied because a library that opens a socket catches it. The platform refuses a connection to its own address ranges, to localhost, to a private network address and to port 25, and those are the refusals a program here will see.
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConnectException
public ConnectException()With no message. -
ConnectException
- Parameters:
message- what was refused
-