StackOverflow Questions for Tag: throws

MamoRatzo
MamoRatzo

Reputation: 11

How to handle exceptions in Android by using throw

Score: 0

Views: 1915

Answers: 3

Read More
Dasphillipbrau
Dasphillipbrau

Reputation: 582

Can I define multiple custom exceptions in java in a single class file and invoke them via methods?

Score: 1

Views: 4535

Answers: 1

Read More
Fabian Andiel
Fabian Andiel

Reputation: 331

Why cant I use a method that throws in a catch block? Why use try/catch throw/throws in general?

Score: -1

Views: 955

Answers: 2

Read More
sau123
sau123

Reputation: 352

throws Exception refactoring in java

Score: 1

Views: 366

Answers: 1

Read More
Benny Bottema
Benny Bottema

Reputation: 11493

How to verify that all own thrown runtime exceptions are covered in Javadoc?

Score: 10

Views: 1306

Answers: 4

Read More
Prashant Tukadiya
Prashant Tukadiya

Reputation: 16446

Invalid conversion from throwing function of type '(_, _) throws -> ()' to non-throwing function type '(Bool, Error?) -> Void

Score: 0

Views: 979

Answers: 1

Read More

Asserting an exception in QUnit

Score: 1

Views: 441

Answers: 1

Read More
shay
shay

Reputation: 1357

Can I declare that a php function throws an exception?

Score: 49

Views: 42994

Answers: 3

Read More
juicecup
juicecup

Reputation: 1

How do I read content from a .txt file and then find the average of said content in Java?

Score: -2

Views: 68

Answers: 1

Read More
fatherazrael
fatherazrael

Reputation: 5977

When should we choose to throw an exception?

Score: -1

Views: 73

Answers: 1

Read More
mal
mal

Reputation: 3204

When throwing an exception from a java method, will a more general one override a more specific one?

Score: -1

Views: 883

Answers: 1

Read More
twiz_
twiz_

Reputation: 1198

Function throws AND returns optional.. possible to conditionally unwrap in one line?

Score: 5

Views: 1337

Answers: 2

Read More
Rafael Sachetto
Rafael Sachetto

Reputation: 131

Cannot convert value of type '(() throws -> Void?) -> ()' to expected argument type '((Void) throws -> Void)?'

Score: 1

Views: 448

Answers: 2

Read More
Vortetty
Vortetty

Reputation: 159

when calling void with throws keyword, all thrown errors apply to where i call the void

Score: 0

Views: 119

Answers: 1

Read More
Srinivas P
Srinivas P

Reputation: 91

Can Java automatically wrap an object and throw as part of throws exception?

Score: 1

Views: 1078

Answers: 2

Read More
João Neves
João Neves

Reputation: 1132

Should I avoid throwing Throwable when dealing with a method that throws Throwable?

Score: 4

Views: 5041

Answers: 2

Read More
Pran Kumar Sarkar
Pran Kumar Sarkar

Reputation: 1003

When should we use throws keyword in Java?

Score: 6

Views: 2310

Answers: 4

Read More
Hearen
Hearen

Reputation: 7828

Method signature including the throws exception?

Score: 3

Views: 1899

Answers: 1

Read More
SyncMaster
SyncMaster

Reputation: 9936

How to call a method that throws an exception in catch block?

Score: 2

Views: 15539

Answers: 3

Read More
J.J. Beam
J.J. Beam

Reputation: 3059

Does java compiler optimize unreachable exception catch branches?

Score: 3

Views: 148

Answers: 2

Read More
PreviousPage 4Next