Write a Python function that accepts a username as input and raises an exception if the username contains any special characters.
Example 1:
Input: "user@name"
Output: "Error: Username should not contain any special characters."
Example 2:
Input: "username"
Output: "Valid username."