Framework
A framework comprises of all different elements that make the production of a software system smoother and less complicated.

CPU Exception

CPU Exception is a class set to catch errors and set them to a specific format.

Public Class CPUException
Inherits Exception
Public Enum ExceptionTypeEnum
Expected
Unexpected
End Enum

Dim nExceptionType As ExceptionTypeEnum = ExceptionTypeEnum.Unexpected

Public Sub New(ErrorMessage As string, Optional ExceptionTypeValue As ExceptionTypeEnum = ExceptionTypeEnum.Unexpected)
MyBase.New(ErrorMessage)
nExceptionType = ExceptionTypeValue
End Sub

Public Readonly Propery ExceptionType As ExceptionTypeEnum
Get
Return nExceptionType
End Get
End Propery
End Class