public function __construct($contactHandle, $contactType = null)
{
$this->setContactHandle($contactHandle);
if ($contactType) {
$this->setContactType($contactType);
}
if ($contactType != null && $contactType != self::CONTACT_TYPE_ADMIN && $contactType != self::CONTACT_TYPE_REGISTRANT && $contactType != self::CONTACT_TYPE_BILLING && $contactType != self::CONTACT_TYPE_TECH) {
throw new eppException('Invalid contact type: ' . $contactType);
}
}