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) : base(
17 $"Class {className} is abstract and cannot be instantiated."
18 ) { }
19}
Exception that is thrown when a Abstract Class is instantiated.
BadAbstractClassException(string className)
Creates a new Exception.