package domain.relationrules.is_not_allowed_to_use.violating.exception; import technology.relationrules.notallowed.allowed.ASocialNetwork2; public class ViolatingCall_2Exc { private ASocialNetwork2 asocialnetwork; public ViolatingCall_2Exc(){ System.out.println(asocialnetwork.getASocialNetworkType()); } }