Class NoMoreStepsException
Exception that is thrown when attempting to move along a Path when there are no more Steps in that direction
Inheritance
System.Object
System.Exception
NoMoreStepsException
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: RogueSharp
Assembly: RogueSharp.dll
Syntax
public class NoMoreStepsException : Exception
Constructors
| Improve this Doc View SourceNoMoreStepsException()
Initializes a new instance of the NoMoreStepsException class
Declaration
public NoMoreStepsException()
NoMoreStepsException(String)
Initializes a new instance of the NoMoreStepsException class with a specified error message.
Declaration
public NoMoreStepsException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
NoMoreStepsException(String, Exception)
Initializes a new instance of the NoMoreStepsException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public NoMoreStepsException(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. |