Show / Hide Table of Contents

Class NullPointerException

The exception that is thrown when there is an attempt to dereference zero pointer.

Inheritance
object
Exception
SystemException
NullReferenceException
NullPointerException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.ToString()
Exception.GetType()
Exception.TargetSite
Exception.Message
Exception.Data
Exception.InnerException
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.StackTrace
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: DotNext.Runtime.InteropServices
Assembly: DotNext.Unsafe.dll
Syntax
public sealed class NullPointerException : NullReferenceException, ISerializable

Constructors

View Source

NullPointerException()

Initializes a new exception representing attempt to dereference zero pointer.

Declaration
public NullPointerException()
View Source

NullPointerException(string)

The exception that is thrown when there is an attempt to dereference zero pointer.

Declaration
public NullPointerException(string message)
Parameters
Type Name Description
string message

The human-readable description of this message.

Implements

ISerializable

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾