Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
throwing
- Page 1
Re: Add property to standard object
Programming
Web Development
2 Months Ago
by Dani
> $obj->newProperty = "something"; For some reason I thought that PHP didn't allow that without
throwing
an error?! (Hence the reason for me posting this question). I'm on PHP 8.2/8.3.
throwing Exceptions
Programming
Software Development
10 Years Ago
by DmytriE
…, and string manipulation, I was curious about the idea of
throwing
exceptions. Let me start with the most basic questions regarding…'ve never written anything that deals with either catching or
throwing
an exception. No need to answer this all at once…
throwing corba exception in c++
Programming
Software Development
15 Years Ago
by vishy_85
hello all , im having a problem
throwing
corba system exception the following is my code [code] #include &…
Re: Throwing exception on console
Programming
Software Development
10 Years Ago
by deceptikon
There's nothing stopping `operator[]` from
throwing
an exception, but I'd be a bit surprised if … of a throw. As such, you cannot depend on `operator[]`
throwing
. You *can* depend on `at…
Re: continue after throwing exception
Programming
Software Development
14 Years Ago
by Ancient Dragon
… block. [code] void foo() { cout << "foo() is
throwing
an excetption\n"; throw 1; } int main() { try { foo… program\n"; } [/code] Output is this: [quote] foo() is
throwing
an excetption Exception caught Ending program Press any key to…
Apache Soap Problem, rpcrouter is throwing exception
Programming
Web Development
17 Years Ago
by alwaysvaghu
… me." [/B] But in my case it is [B]
throwing
exception[/B] which is pasted below... I am using tomcat…
continue after throwing exception
Programming
Software Development
14 Years Ago
by thornside
Hi, I need to know how to continue execution of code after
throwing
an exception. Has it got to do with where I place the throw statement? Thanks in advance.
Re: continue after throwing exception
Programming
Software Development
14 Years Ago
by StuartMillner
… above example is any data type that would cause the
throwing
of an exception. The [b]throw[/b] statement causes the…
Opera starts throwing rocks at Microsoft
Hardware and Software
Microsoft Windows
16 Years Ago
by happygeek
… browser world and forces it to adopt a position of
throwing
rocks instead? Could it be, quite simply, that it just…
encryption and throwing exception
Programming
Software Development
13 Years Ago
by rude04
… when i tried to add some gui an error about
throwing
exception keeps showing.. this is the code without the gui…
Homework help: Application throwing NullPointerException when item's state is changed
Programming
Software Development
12 Years Ago
by Vern247
…(shippingRate)); } } [/CODE] The problem here is that this application is
throwing
a NullPointerException when itemStateChanged() is invoked - been struggling for a…
Why is this not throwing an exception?
Programming
Software Development
12 Years Ago
by james6754
… pLong; [/CODE] I have deleted pInt...why is this not
throwing
an exception when assign 30 to it?
Simple J2ME Bluetooth application throwing error
Programming
Mobile Development
12 Years Ago
by Rahul Das
… I am trying it in my phone then it is
throwing
following error. 1. If Bluetooth in my phone is off…
Help with throwing and catching exceptions
Programming
Software Development
12 Years Ago
by Hypnos_16
….read(file); ^ 2 errors[/CODE] I will admit, exceptions, and
throwing
and catching are not my strong suit when it comes…
Cannot figure out why i'm throwing this exception
Programming
Software Development
11 Years Ago
by davidthefritz
http://ideone.com/XRMOPI line 43 is
throwing
this exception and i can't figure out why //Exception …
web throwing wierd errors at me please help
Programming
Web Development
11 Years Ago
by GraficRegret
… throw errors that make no sence, like it is currently
throwing
an error saying that my function "user_exists" is…
Re: throwing Exceptions
Programming
Software Development
10 Years Ago
by stultuske
if you want to learn Java programming, you shouldn't be studying a dictionary's definitions. you should follow either a (decent) textbook's chapter on Exceptions, or the [official Java tutorials on Exceptions](http://docs.oracle.com/javase/tutorial/essential/exceptions/)
Re: question for throwing in class
Programming
Software Development
13 Years Ago
by mike_2000_17
…std::cout << "Foo Constructor called,
throwing
exception..." << std::endl; throw 42;…std::cout << "Foo Constructor called, no
throwing
anything :)" << std::endl; }; }; ~… std::cout << "Bar Constructor called,
throwing
exception..." << std::endl; throw 17; …
Re: exception throwing on file accesing error
Programming
Software Development
16 Years Ago
by Duoas
… can't fail because...)[/URL] Some googled examples of why
throwing
exceptions in clean-up code is bad: [URL="http…
Re: Exception Throwing, Catching, and Declaring
Programming
Software Development
15 Years Ago
by verruckt24
… the caller of the method can handle it himself. Whether
throwing
or taking care of the exception, the developer has to…
Re: help with throwing an exception
Programming
Software Development
13 Years Ago
by nick.crane
[CODE]throw new ApplicationException("This book is too expensive.");[/CODE] See also MSDN Help for [URL="http://msdn.microsoft.com/en-us/library/ms173163.aspx"]Creating and
Throwing
Exceptions (C# Programming Guide)[/URL]
Throwing an exception from a class.
Programming
Software Development
18 Years Ago
by sifuedition
Why are my exceptions not working? here is the teststack.cpp #include <iostream> #include <iomanip> #include "teststack.h" using namespace std; struct StackFullException { StackFullException(); }; StackFullException::StackFullException() { cout << "The stack …
Re: Throwing an exception from a class.
Programming
Software Development
18 Years Ago
by CrazyDieter
could you send your "source.cpp" file too ?
throwing statement in derived class constructor
Programming
Software Development
16 Years Ago
by kux
i noticed that when u compile with visual C++ u don't need the throw statement in function headers, but when u compile with g++ u need to explicitly mention all the exceptions u're function might throw. i mean: [code] void functionx() throw ( exception1 , exception 2) { //blabla throw exception1; //blabla throw exception2; } [/code] but …
Re: throwing statement in derived class constructor
Programming
Software Development
16 Years Ago
by vijayan121
[code=c++]struct A { A( int i ) throw(char,int,double) : value(i) {} int value ; }; struct B : A { B() throw(char,int,double) ; }; B::B() throw(char,int,double) : A(20) {}[/code]
Re: throwing statement in derived class constructor
Programming
Software Development
16 Years Ago
by kux
[QUOTE=vijayan121;521499][code=c++]struct A { A( int i ) throw(char,int,double) : value(i) {} int value ; }; struct B : A { B() throw(char,int,double) ; }; B::B() throw(char,int,double) : A(20) {}[/code][/QUOTE] thx
Throwing an Exception
Programming
Software Development
16 Years Ago
by fusi0n423
Hi all I'm new here I've been working on a project that has a multiset class. I need a function that accepts a integer value and returns the value held there. The multiset is a data[SIZE][2] where everything is stored where data[i][0] is the number and data[i][1] is how many times it is stored. The trouble I'm having is on how to throw an out of …
Re: Throwing an Exception
Programming
Software Development
16 Years Ago
by Narue
Throw a standard exception. You can find a few in <stdexcept>.
Re: Throwing an Exception
Programming
Software Development
16 Years Ago
by fusi0n423
Thanks thats exactly what i was looking for.
throwing exceptions
Programming
Software Development
15 Years Ago
by BobLewiston
The documentation I've found is a little hazy on this subject, so it's time to fire off yet another no-doubt ignorant question: Is "throw" intended exclusively for the following scenario: Control is transferred out of a try block via a method call, and code in the called method then detects an exception, so the called method uses "…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC