Constructs a ResourceFormatException with the specified information.
A detail message is a String that describes this particular exception.
Parameters: s - the detail message Parameters: classname - the name of the resource class Parameters: key - the key for the malformed resource.