SpecialReturnException

constructor(message: String, type: Class<*>)

Parameters

message

The exception message. Informative only.

type

The expected return type of the action method.