View source code
					
 Display the source code in std/socket.d from which this page was generated on
 github.
					
				
				
 Improve this page
					
 Quickly fork, edit online, and submit a pull request for this page.
 Requires a signed-in GitHub account. This works well for small changes.
 If you'd like to make larger changes you may want to consider using
 local clone.
					
				
				
 Page wiki
					
 View or edit the community-maintained wiki page associated with this page.
					
				
			
			Class std.socket.SocketParameterException
			Socket exceptions representing invalid parameters specified by user code.
Inherits from
- 
								
(base class)SocketException 
Constructors
| Name | Description | 
|---|---|
									
										this
									
								 | 
								
Fields
| Name | Type | Description | 
|---|---|---|
									file
								 | 
								string | 
								 The file name and line number of the D source code corresponding with
 where the error was thrown from.
 | 
							
									info
								 | 
								object. | 
								 The stack trace of where the error happened. This is an opaque object
 that can either be converted to string, or iterated over with foreach to extract the items in the stack trace (as strings).
 | 
							
									line
								 | 
								ulong | 
								 The file name and line number of the D source code corresponding with
 where the error was thrown from.
 | 
							
									msg
								 | 
								string | 
								A message describing the error. | 
									next
								 | 
								Throwable | 
								 A reference to the next error in the list. This is used when a new
  is thrown from inside a catch block. The originally
 caught  will be chained to the new  via this
 field.
 | 
							
Methods
| Name | Description | 
|---|---|
									
										factory
									
								 | 
								 Create instance of class specified by the fully qualified name
 classname.
 The class must either have no constructors or have
 a default constructor.
 | 
							
									
										opCmp
									
								 | 
								 Compare with another Object obj.
 | 
							
									
										opEquals
									
								 | 
								 Returns !=0 if this object does have the same contents as obj.
 | 
							
									
										toHash
									
								 | 
								 Compute hash function for Object.
 | 
							
									
										toString
									
								 | 
								 Overrides  and returns the error message.
 Internally this forwards to the  overload that
 takes a sink delegate.
 | 
							
									
										toString
									
								 | 
								 The Throwable hierarchy uses a toString overload that takes a
 sink delegate to avoid GC allocations, which cannot be
 performed in certain error situations.  Override this  method to customize the error message.
 | 
							
Authors
Christopher E. Miller, David Nadlinger, Vladimir Panteleev