So, I have a base class(we can call it A) with lots of function.
Then I create a sub class of A(we can call it B) where a lot of the functions in A are disabled.
Example, here is a function from the sub class B:
public override void setSomething(boolean something)
{
throw new Exception("This function is not supported in the sub class");
}
Is that bad and unprofessional?