public FogbugzCase getCaseById ( int id ) throws InvalidResponseException , NoSuchCaseException { List < FogbugzCase > caseList = this . searchForCases ( Integer . toString ( id ) ) ; if ( caseList . size ( ) > 1 ) { throw new InvalidResponseException ( "Expected one case, found multiple, aborting." ) ; } return caseList . get ( 0 ) ; }
Retrieves a case using the Fogbugz API by caseId .