D Documentation  
UnboxException
Prototype:
class UnboxException : Error

This class is thrown if unbox is unable to cast the value into the desired result.

this(Box object, TypeInfo outputType)
Assign parameters and create the message in the form "Could not unbox from type to ."

box object
This is the box that the user attempted to unbox.

TypeInfo outputType
This is the type that the user attempted to unbox the value as.
Created using PHP docwiki written by Markus Dangl. Best viewed with Mozilla Firefox.