What is the actual error that the code is giving you?

Not very useful..

As a note, you should have a constructors in your RoomDimension class that allows you to begin with giving values to...