Java Reference
In-Depth Information
It has one parameter:
•
int
The
println(long value)
Method
public void println(long value)
throws java.io.IOException
This version of the
println()
method prints the passed-in
long
value to the output stream, fol-
lowed by a CRLF.
It has one parameter:
•
long
The
println(float value)
Method
public void println(float value)
throws java.io.IOException
This version of the
println()
method prints the passed-in
float
value to the output stream,
followed by a CRLF.
It has one parameter:
•
float
The
println(double value)
Method
public void println(double value)
throws java.io.IOException
This version of the
println()
method prints the passed-in
double
value to the output stream,
followed by a CRLF.
It has one parameter:
•
double
Exceptions
Exceptions for the
javax.servlet
package are
ServletException
and
UnavailableException
. Their methods are described in the following sections.
The
ServletException
A
ServletException
object is thrown when a problem is encountered within a servlet.