Aligning component error message

I am using a form in vaadin for displaying the fields. When the user enters invalid inputs then the error message is shown.But any way the error message and form move towards middle of the window. Is there any way to align the error message.?

Here is the code

setComponentError(new Validator.InvalidValueException(error));
throw new Validator.InvalidValueException(error);

Here "error " is my customized error message

Regards,
Joseph Inigo Fernando