public JobGUI() { LinkedInDTO transferAccount = new LinkedInDTO(); transferAccount.setName("Mathew"); transferAccount.setPassword("Schilke"); try { throw new LinkedInException(transferAccount); } catch (LinkedInException e) { Console.WriteLine(e.StackTrace); } }
public LinkedInException(LinkedInDTO transferAccount) : base("name " + transferAccount.getName() + " password: " + transferAccount.getPassword()) { }