Cursos
Cursos
Compilador de Código
Compilador de Código
Discutir
Teams
Fazer login
Registrar
Menu
Q&A Discussões
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
What is the difference between throw and throws keyword in java?
java
2 Votos
4 Respostas
22nd Aug 2019, 7:12 AM
Piyush Srivastava
Why does // throw out the wrong number here by rounding down?
python
4 Votos
5 Respostas
2nd Apr 2022, 2:55 PM
Didi
what is the difference between throw & throws ?
exceptions
java
0 Voto
3 Respostas
16th Sep 2016, 2:30 PM
Jithin Sathianandan
How can we use throw and throws ?
java
1 Voto
1 Resposta
29th Nov 2017, 2:46 PM
Devendra Kumar
I dont really understand the concept of throw and catch
exceptions
1 Voto
3 Respostas
12th Oct 2019, 7:49 AM
kori a
What is the difference between throw and throws ??
exceptions
java
0 Voto
3 Respostas
17th Jul 2016, 7:18 AM
AnsHuman Aaditya
How to handle errors and throw exception in php?
error
exceptions
php
1 Voto
2 Respostas
18th Aug 2016, 11:15 PM
Bekir Uzun
Can we use throw outside try or catch block ?
c++
2 Votos
1 Resposta
24th Apr 2020, 1:59 PM
Nikhil Maroju
what is use of catch and throw in c++
c++
1 Voto
2 Respostas
10th Aug 2016, 12:41 PM
Aman gautam
Can anyone explain about throw and throws keyword in java?
exception
java
throw
throws
1 Voto
2 Respostas
7th Dec 2020, 2:37 PM
Yash Chaudhari
Can I use try/catch without throw? What does throw 0 mean?
c++
exceptions
2 Votos
5 Respostas
8th Aug 2016, 12:01 PM
shola ola ibrahim
what is different btween throw and try catch in java
java
1 Voto
3 Respostas
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 Votos
2 Respostas
27th Oct 2016, 1:29 PM
Sambit Mohapatra
Why this code not working here and throw NoSuchElementException?
java
loops
while
0 Voto
1 Resposta
23rd Jan 2017, 4:43 PM
Vernando Abang
What does the throw syntax actually do in c++??
c++
-1 Voto
2 Respostas
28th Jan 2017, 8:55 AM
Shivam Dubey
Why there is a need to throw IOException ?
java
-1 Voto
2 Respostas
20th Mar 2017, 5:16 PM
Prashant Singh
What's the main difference between throws and throw keyword in java ?
exceptions
java
1 Voto
4 Respostas
6th Dec 2017, 12:01 AM
Yogesh Keshari
What is difference between throw and throws used in exceptions handelling???
exceptions
java
throw
throws
0 Voto
3 Respostas
28th Nov 2016, 6:20 PM
Ravindra
What are the uses of try catch and throw in c++
c++
catch
throw
try
1 Voto
1 Resposta
18th Jun 2019, 2:04 AM
Akash Raj
If we run an unextended abstract class will it throw an error?
abstract-classes
java
0 Voto
4 Respostas
22nd Jun 2018, 2:01 PM
Bijit Biswas
Could someone please explain how to use the throw catch statements ?
c++
java
1 Voto
4 Respostas
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 Voto
1 Resposta
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 Votos
2 Respostas
24th Aug 2016, 5:31 PM
Agha Asad Khan
what is "try throw catch" and were i can find it in sololearn?
c++
2 Votos
3 Respostas
31st Jul 2017, 8:08 PM
Amer Abdulhafiz
Can anyone tell me the use of 5th line?
exceptions
java
throw
throws
3 Votos
16 Respostas
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 Voto
2 Respostas
23rd Jul 2018, 10:41 PM
Boom
Throw is actually a different return made for exception. am I right ?
cpp
exception
question
0 Voto
1 Resposta
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 Votos
4 Respostas
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 Voto
6 Respostas
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 Voto
2 Respostas
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 Voto
1 Resposta
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 Voto
2 Respostas
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 Voto
2 Respostas
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 Voto
1 Resposta
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 Voto
2 Respostas
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 Votos
1 Resposta
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 Voto
3 Respostas
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 Voto
1 Resposta
9th Aug 2016, 11:50 AM
Antony Stinil
catch(string& name) vs catch(string name)
catch
cpp
exceptions
throw
try
5 Votos
2 Respostas
21st Aug 2019, 11:32 PM
Adam
What is the Deal with "try", "catch" and "throw" in C++?
c++
catch
throw
try
1 Voto
4 Respostas
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 Voto
5 Respostas
15th Jan 2021, 7:29 AM
ROHIT KUMAR
How do catch/throw modules work?
catch
exception
throw
0 Voto
1 Resposta
16th Dec 2016, 10:52 AM
Ioanna Zapalidi
Please Help me find Fault
catch
javascript
throw
try
-1 Voto
2 Respostas
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 Voto
2 Respostas
12th Jun 2021, 10:15 AM
THABIT JAMAL OLADOSU
Two C++ Questions
c++
catch
function-body
preprocessor
throw
try
1 Voto
4 Respostas
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 Voto
1 Resposta
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 Voto
1 Resposta
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 Voto
1 Resposta
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 Voto
3 Respostas
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 Voto
5 Respostas
18th Sep 2016, 4:14 PM
subham singh
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
< Anterior
1
2
3
Próximo >
Quente hoje
What's wrong with this code ? ( Beginner)
4 Votes
Pig Latin
0 Votes
Someone can help me
0 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Currently learning C++, I’m getting into socket programming with C++
0 Votes
I’m new someone can help me
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
What's doctype htMl
2 Votes
HTML community, HELP!!
0 Votes