Since this exception is for a very specific secnario and you have an Exception class created for it, there would be no need to pass in the error code, default error message etc as arguments the constructor.