Created
December 17, 2017 20:19
-
-
Save dbushenko/b267b6ead30d6b0766a5996555f7936a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Person mainFlow(String arg1, String arg2, int arg3) throws WrongArgs, WrongPerson, WrongResult { | |
verifyArgs(arg1, arg2, arg3); | |
Person p = personRepo.readFromDb( arg3 ); | |
verifyPerson(p); | |
Result result = doSomething(arg1, arg2, p); | |
checkResult( result ); | |
return p; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment