answersLogoWhite

0


Best Answer


he message and the stacktrace are two distinct pieces of information. While the stackstrace is mandatory, the message isnt. Most exceptions deliver a message, and it is the best practice, but some just don't and there's nothing to be done to fix it.

public

void

process

()

{

try

{

System

.

out

.

println

(

"test"

);

}

catch

(

Exception

e

)

{

e

.

printStackTrace

();

}

}

User Avatar

Wiki User

βˆ™ 11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the meaning of printstacktrace in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the meaning of the word GUI in java?

Graphical User Interface http://en.wikipedia.org/wiki/Graphical_user_interface (there is no special meaning in Java, "GUI" is universally used)


What is literal in java programming?

Literal in java are L, F, null, true, false These act as keyword(have special meaning in java) but these does'nt comes under the category of Java Keyword.


What is the meaning of a method in Java programming?

a method is a variable


What is the meaning of the 2 in j2ee?

Java 2 Platform Enterprise Edition. The 2 means that it is Java number 2.


What are some nicknames for coffee?

* Joe * java * 'bucket of mud' ... meaning cup of coffee


What does the abbreviation JAVA stand for?

The name Java is not an acronym. The Development Team of Java has just chosen this name. The name Java specifically doesn't have any meaning rather it refers to the hot, aromatic drink COFFEE.


What is the meaning of deplyoment IN JAVA?

Deployment is the process of copying the compiled Java classes to a server or client. Once deployed, the server is able to run those classes (as in Java servlets), or serve those files to clients (as in Java applets), or be executed as programs (as in Java desktop applications).


What is the meaning of stand alone apps in java?

They stand alone. Forever alone.


What is the exact meaning of rich java client platform?

A Rich Java Client Platform i.e. Rich Client Platform (RCP) is a specialized computer program anticipated for the creation of Java applications built on the Eclipse architecture.


What commands are used to prints text in java?

System.out.println("text"); or System.out.print("text"); Please note that Java is case sensitive, meaning you must match uppercase and lowercase exactly.


What is the meaning of new keyword in java?

There is 48 reserved keywords currently defined in the java language. These keywords, combined with the syntax of the operators and separators,form the definition of the java language. these keywords can't be used as names for a variable,class or method. (chandramohan singh)


What is the meaning of java and how it matches to the programming language oak?

The original plan was to call the Java language "Oak", but it turned out there already was a programming language of that name, so they changed the name. Java is of course unrelated to this other "Oak" language, the one that had already reserved the name.