BadScript 2
Loading...
Searching...
No Matches
BadAbstractClassException.cs
Go to the documentation of this file.
1
4
6
10public class BadAbstractClassException : Exception
11{
16 public BadAbstractClassException(string className) :
17 base($"Class {className} is abstract and cannot be instantiated.") { }
18}
Exception that is thrown when a Abstract Class is instantiated.
BadAbstractClassException(string className)
Creates a new Exception.