How to create a custom exception and show it friendly with CJuiDialog

Comparing #2 with #3

Title

How to create an custom exception and show it friendly with CJuiDialog