Class PathNotFoundException
Exception that is thrown when attempting to find a Path from a Source to a Destination but one does not exist
Inheritance
Inherited Members
Namespace: RogueSharp
Assembly: RogueSharp.dll
Syntax
public class PathNotFoundException : Exception
Constructors
| Improve this Doc View SourcePathNotFoundException()
Initializes a new instance of the PathNotFoundException class
Declaration
public PathNotFoundException()
PathNotFoundException(String)
Initializes a new instance of the PathNotFoundException class with a specified error message.
Declaration
public PathNotFoundException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
PathNotFoundException(String, Exception)
Initializes a new instance of the PathNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public PathNotFoundException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |