Exception.newException()

Signature

Exception newException (String errorType, String message, Exception cause)

Domain

action, condition

Description

This creates a new Exception Instance based on the data passed in.

Parameters

NameTypeDescription
errorTypeStringindicates the type of error this exception represents
messageStringmore detailed information about the error this exception represents
causeExceptionan exception that has caused this exception

Returns

TypeDescription
ExceptionThe newly created Exception Instance.

Cautions

none