Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
What is the difference between throw and throws keyword in java?
java
2 Votes
4 Answers
22nd Aug 2019, 7:12 AM
Piyush Srivastava
Why does // throw out the wrong number here by rounding down?
python
4 Votes
5 Answers
2nd Apr 2022, 2:55 PM
Didi
what is the difference between throw & throws ?
exceptions
java
0 Votes
3 Answers
16th Sep 2016, 2:30 PM
Jithin Sathianandan
How can we use throw and throws ?
java
1 Vote
1 Answer
29th Nov 2017, 2:46 PM
Devendra Kumar
I dont really understand the concept of throw and catch
exceptions
1 Vote
3 Answers
12th Oct 2019, 7:49 AM
kori a
What is the difference between throw and throws ??
exceptions
java
0 Votes
3 Answers
17th Jul 2016, 7:18 AM
AnsHuman Aaditya
How to handle errors and throw exception in php?
error
exceptions
php
1 Vote
2 Answers
18th Aug 2016, 11:15 PM
Bekir Uzun
Can we use throw outside try or catch block ?
c++
2 Votes
1 Answer
24th Apr 2020, 1:59 PM
Nikhil Maroju
what is use of catch and throw in c++
c++
1 Vote
2 Answers
10th Aug 2016, 12:41 PM
Aman gautam
Can anyone explain about throw and throws keyword in java?
exception
java
throw
throws
1 Vote
2 Answers
7th Dec 2020, 2:37 PM
Yash Chaudhari
Can I use try/catch without throw? What does throw 0 mean?
c++
exceptions
2 Votes
5 Answers
8th Aug 2016, 12:01 PM
shola ola ibrahim
what is different btween throw and try catch in java
java
1 Vote
3 Answers
2nd Apr 2017, 12:23 PM
ALAMOUDI, WAEL MAKKI S
What is the difference between throw & throws in Java ??
error
exception
exceptions
handling
java
throw
throwable
throws
5 Votes
2 Answers
27th Oct 2016, 1:29 PM
Sambit Mohapatra
Why this code not working here and throw NoSuchElementException?
java
loops
while
0 Votes
1 Answer
23rd Jan 2017, 4:43 PM
Vernando Abang
What does the throw syntax actually do in c++??
c++
-1 Vote
2 Answers
28th Jan 2017, 8:55 AM
Shivam Dubey
Why there is a need to throw IOException ?
java
-1 Vote
2 Answers
20th Mar 2017, 5:16 PM
Prashant Singh
What's the main difference between throws and throw keyword in java ?
exceptions
java
1 Vote
4 Answers
6th Dec 2017, 12:01 AM
Yogesh Keshari
What is difference between throw and throws used in exceptions handelling???
exceptions
java
throw
throws
0 Votes
3 Answers
28th Nov 2016, 6:20 PM
Ravindra
What are the uses of try catch and throw in c++
c++
catch
throw
try
1 Vote
1 Answer
18th Jun 2019, 2:04 AM
Akash Raj
If we run an unextended abstract class will it throw an error?
abstract-classes
java
0 Votes
4 Answers
22nd Jun 2018, 2:01 PM
Bijit Biswas
Could someone please explain how to use the throw catch statements ?
c++
java
1 Vote
4 Answers
16th May 2017, 8:31 AM
Mensah Jnr
why does my javascript code throw an error but everything works correctly?
christmas
help
javascript-help
santa
0 Votes
1 Answer
5th Dec 2019, 2:22 AM
Mr. Jason Hester (storm me, follow me)
What is the difference between Throw and Throws in Java Exception Handling?
exception
java
2 Votes
2 Answers
24th Aug 2016, 5:31 PM
Agha Asad Khan
what is "try throw catch" and were i can find it in sololearn?
c++
2 Votes
3 Answers
31st Jul 2017, 8:08 PM
Amer Abdulhafiz
Can anyone tell me the use of 5th line?
exceptions
java
throw
throws
3 Votes
16 Answers
7th Jun 2021, 11:32 AM
Atul [Inactive]
What modules have Python to open throw program internet and take from internet information?
programming
python
web
1 Vote
2 Answers
23rd Jul 2018, 10:41 PM
Boom
Throw is actually a different return made for exception. am I right ?
cpp
exception
question
0 Votes
1 Answer
21st Aug 2018, 8:20 PM
Zbouby
Is Java used as backend for websites and apps.. Throw some light please... Is it better than PHP, python.??
app
backend
java
loveit
4 Votes
4 Answers
4th Jul 2018, 9:03 AM
Santosh Kumar Reddy
I started web development and about to finish html i dont know how but it throw me at station
<strong
help</strong
0 Votes
6 Answers
27th Jan 2024, 3:36 AM
Hitesh Choudhary
Any idea how to throw in an error on a set without using an in?
python
sets
0 Votes
2 Answers
2nd Aug 2016, 10:01 AM
Leonard Aaron Zuniga
Any idea how to throw in an error on a set without using an in?
python
sets
0 Votes
1 Answer
2nd Aug 2016, 9:56 AM
Leonard Aaron Zuniga
What do the expression 1.0 / 0.0 will return? will it throw Exception? any compile time error?
java
0 Votes
2 Answers
18th Feb 2017, 3:45 AM
Kartikeya Bhardwaj
Hi everyone! I'm trying to get some badges! Can anyone throw a few likes on some codes? Much appreciated!
achievements
badges
code
codes
everyone
likes
1 Vote
2 Answers
16th Sep 2019, 7:47 AM
Sean Michael Burrows
I want to compare the some string with the database table and throw an output in python
database
python
python3
sql
0 Votes
1 Answer
21st Apr 2019, 3:28 PM
Aksfh
Can someone explain this code to me. I was expecting that it will throw error, but the output is 30.
codenewbie
py3
0 Votes
2 Answers
30th Sep 2020, 5:18 AM
Gbadegesin Muhammed
[Solved] How to get to throw exception just once in this Python code and choose different messages for the same exception?
exception
python
2 Votes
1 Answer
4th Apr 2022, 10:18 PM
Korkunç el Gato
Why does code playground throw an error stating "cannot set property 'innerHTML' of null" it works on my txt editor [Android]?
css
css3
html5
javascript
1 Vote
3 Answers
26th Apr 2019, 10:35 AM
Cyrus The Virus!
Will it throw error or crash if we use the void returning method in a assignment statement?
c#
methods
void
0 Votes
1 Answer
9th Aug 2016, 11:50 AM
Antony Stinil
catch(string& name) vs catch(string name)
catch
cpp
exceptions
throw
try
5 Votes
2 Answers
21st Aug 2019, 11:32 PM
Adam
What is the Deal with "try", "catch" and "throw" in C++?
c++
catch
throw
try
1 Vote
4 Answers
19th Nov 2019, 11:35 PM
Bumblebone
Write a program to take input from user and check whether greater than zero , Less than zero , and Zero . Using try catch throw
c++
catch
challenge
coding
cpp
happy
throw
today
try
1 Vote
5 Answers
15th Jan 2021, 7:29 AM
ROHIT KUMAR
How do catch/throw modules work?
catch
exception
throw
0 Votes
1 Answer
16th Dec 2016, 10:52 AM
Ioanna Zapalidi
Please Help me find Fault
catch
javascript
throw
try
-1 Vote
2 Answers
8th Mar 2020, 8:39 PM
Priya gupta
Rearrange the codeto define a function foo which throw an exception with a value of -100. If parameter is greater than 999. Then
error
-1 Vote
2 Answers
12th Jun 2021, 10:15 AM
THABIT JAMAL OLADOSU
Two C++ Questions
c++
catch
function-body
preprocessor
throw
try
1 Vote
4 Answers
28th Mar 2021, 6:31 PM
Edward Finkelstein
Does SoloLearn has a public API for all of that? try { If (so) you.do.direct(me,there) else throw new W } finally { we.canDo() }
soloapi
0 Votes
1 Answer
30th May 2019, 3:29 PM
Арсений Чеботарёв
How do I write a try-throw catch exception to find the square root of the number input from scanner and use exception for -ve no
catch
exceptions
throw
try
0 Votes
1 Answer
18th Jul 2017, 2:05 PM
Alao Abiodun
I want to trigger an error so I can see if my code works.
catch
error
javascript
promises
throw
0 Votes
1 Answer
2nd Sep 2019, 8:20 PM
Elvis Delahoz
What's happening in this program? Is it crashing or is it throwing an error? [Code in description]
c++
catch
class
constructors
crash
destructors
error
throw
try
1 Vote
3 Answers
27th Feb 2021, 10:34 AM
Mahima Rajvir Singh
public class Program { static int div(int a, int b) { if(b == 0) { throw ArithmeticException("Division by Zero"); } else { x = a/b; return x; } } public static void main(String[] args) { int x= div(42,2); System.out.println(x); } } what is wrong with this code ..
exception
java
method
0 Votes
5 Answers
18th Sep 2016, 4:14 PM
subham singh
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
3
Next >
Hot today
C pointers
1 Votes
Python
0 Votes
Guys help please
0 Votes
Slicing in python
1 Votes
Python question
1 Votes
Control flow
0 Votes
HTML
0 Votes
Front-end vs Full-stack
1 Votes
Which mobile offline app can I use for HTML
0 Votes
HOW CAN I CREATE A GAME AS BEGINNER
0 Votes