Write a Groovy program that accepts an array of integers as input and finds the second highest number in it. Your program should validate that the input array contains at least two distinct integers. The output should be a single integer representing the second highest number found in the input array. Your code should be well-documented and properly styled according to Groovy coding conventions.
This prompt doesn't seem malicious.