Questions tagged [notimplementedexception]

NotImplementedException is a .Net exception used as a placeholder in order to alert programmers to the fact that a method has not been implemented.

The NotImplementedException is a built-in implemented as part of the System namespace.

It is thrown when a method has not been implemented, alerting the caller that the method is not available and should not be used.

As part of the template code for auto-implementing interface methods, a NotImplementedException will be inserted into the body of the auto-implemented method.

The MSDN Documentation has more information regarding the use of this exception.

77 questions
73
votes
6 answers

Java POI : How to read Excel cell value and not the formula computing it?

I am using Apache POI API to getting values from an Excel file. Everything is working great except with cells containing formulas. In fact, the cell.getStringCellValue() is returning the formula used in the cell and not the value of the cell. I…
Aminoss
  • 731
  • 1
  • 5
  • 5
65
votes
27 answers

Why does NotImplementedException exist?

This really, really urks me, so I hope that someone can give me a reasonable justification for why things are as they are. NotImplementedException. You are pulling my leg, right? No, I'm not going to take the cheap stab at this by saying, "hang on,…
19
votes
2 answers

Resolving "this operation requires IIS integration pipeline mode" in ASP.net MVC2

I'm developing an ASP.net MVC2 application, and implement an export to .csv controller action, but when I add the headers to force the download, The following appears in the debugger: "this operation requires IIS integration pipeline mode" I have…
13
votes
3 answers

What are Scala standard exceptions?

What are the common standard exceptions in Scala? I am especially interested in how is .Net's NotImplementedException equivalent called? UPDATE: The answer about the NotImplementedException seems to be org.apache.commons.lang.NotImplementedException
Ivan
  • 63,011
  • 101
  • 250
  • 382
9
votes
7 answers

Ways to show your co-programmers that some methods are not yet implemented in a class when programming in C++

What approaches can you use when: you work with several (e.g. 1-3) other programmers over a small C++ project, you use a single repository you create a class, declare its methods you don't have a time do implement all methods yet you don't want…
6
votes
1 answer

How to setup IntelliJ to recognize Scala's "???" method as a TODO

I'd like to see all occurrences of ??? in the IntelliJ TODO list (or in any other way to be able to see a list of all unimplemented methods in my Scala project). It seems adding the pattern \b\?\?\?\b.* in the TODO settings doesn't work.
Jacob Eckel
  • 1,633
  • 1
  • 13
  • 22
6
votes
4 answers

Why does Code Analysis not warn about NotImplementedException?

I'm pretty sure that previous versions of Visual Studio Code Analysis warned about the use of NotImplementedException, i.e. any member that contained this throw new NotImplementedException(); would give a CA warning. This doesn't seem to be the…
Mark Seemann
  • 225,310
  • 48
  • 427
  • 736
5
votes
3 answers

Checking user input using isnan function of NumPy

I'm trying to use NumPy to check if user input is numerical. I've tried using: import numpy as np a = input("\n\nInsert A: ") if np.isnan(a): print 'Not a number...' else: print "Yep,that's a number" On its own t works fine, however when…
George Burrows
  • 3,391
  • 9
  • 31
  • 31
5
votes
3 answers

System.NotImplementedException: 'This functionality is not implemented in the portable version of this assembly

I have added Plugin.MediaManager and Plugin.MediaManager.Forms into my xamarin forms project for playing video. CrossMediaManager.Current.Init(this); when I am trying to add above code, it shows error (No overload for method Init();) But getting…
Sreejith Sree
  • 3,055
  • 4
  • 36
  • 105
5
votes
4 answers

NotImplementedException from .NET's CustomLineCap constructor

I want to draw a custom line cap - a equilateral triangle with the radius r. Apparently I can't: Dim triangleSide As Single = CSng(3 * r / Math.Sqrt(3)) Dim triangleHeight As Single = CSng(3 * r / 2) path = New GraphicsPath() Dim points() As…
serhio
  • 28,010
  • 62
  • 221
  • 374
4
votes
1 answer

Xamarin Forms FileSystemWatcher

i need to watch a folder that are inside my ios/android application. I would like to use FileSystemWatcher. This is my code: var DocFolder = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); var InboxFolder = DocFolder + "/Inbox"; …
3
votes
2 answers

Not grasping API using interfaces

I've just been handed an API that seems to be a step up from what I'm used to, as everything appears to be implemented using interfaces, and I'm struggling to get my head around them. public partial class Form1 : Form, IFoo { public Form1() …
David M
  • 2,763
  • 4
  • 21
  • 24
3
votes
3 answers

What is the difference between sun.reflect.generics.reflectiveObjects.NotImplementedException and org.apache.commons.lang3.NotImplementedException

I have discovered there are 2 NotImplementedException: sun.reflect.generics.reflectiveObjects.NotImplementedException org.apache.commons.lang3.NotImplementedException Since there is not an available documentation for the first one, I'm not able to…
3
votes
1 answer

Microsoft.Web.Administration.Site when called method Stop() throws NotImplemenetedException

I am trying to stop a website in IIS. Here is my code Site oSite = SERVERMANAGER.Sites.FirstOrDefault(s => s.Name.IndexOf(websiteName) > -1); if (oSite != null) { //stop the site... oSite.Stop(); } When it reachers oSite.Stop(); it will…
3
votes
1 answer

Unhandled System.NotImplementedException with no source available?

I am not sure if anyone has encountered this problem. I am developing a C# Windows Phone 8 app in VS 2012. I have lately been getting unhandled exceptions of type System.NotImplementedException. This is despite the fact that all of my code is…
1
2 3 4 5 6