C# Class CSE.Exceptions.CseLogicException

Primary class for all logic exceptions in statements
Inheritance: System.Exception
ファイルを表示 Open project: kcherr1/CSharp-Eval

Public Methods

Method Description
CseLogicException ( CseLogicExceptionType type ) : System

Constructor

Private Methods

Method Description
GetExceptionMsg ( CseLogicExceptionType CseLogicExceptionType ) : string

Converts CseLogicExceptionType value to a formatted exception message (to be used in String.Format())

QuoteArgs ( object args ) : string[]

Places double quotes around each argument sent to the constructor. This changes a statement like: Can't cast -3 to ulong to: Can't cast "-3" to "ulong"

Method Details

CseLogicException() public method

Constructor
public CseLogicException ( CseLogicExceptionType type ) : System
type CseLogicExceptionType Type of exception to display
return System