@Test(expected = SdpException.class) public void testParseMissingRole() throws SdpException { String sdp1 = "a=setup:\n\r"; PARSER.parse(sdp1); }
@Override public SetupAttribute parse(String sdp) throws SdpException { try { return new SetupAttribute(sdp.trim().substring(8)); } catch (Exception e) { throw new SdpException(PARSE_ERROR + sdp, e); } }
SetupAttributeParser implements SdpParser<SetupAttribute> { @Override public SetupAttribute parse(String sdp) throws SdpException { try { return new SetupAttribute(sdp.trim().substring(8)); } catch (Exception e) { throw new SdpException(PARSE_ERROR + sdp, e); } } }
SetupAttributeParser implements SdpParser<SetupAttribute> { @Override public SetupAttribute parse(String sdp) throws SdpException { try { return new SetupAttribute(sdp.trim().substring(8)); } catch (Exception e) { throw new SdpException(PARSE_ERROR + sdp, e); } }  }
SetupAttributeParser implements SdpParser<SetupAttribute> { @Override public SetupAttribute parse(String sdp) throws SdpException { try { return new SetupAttribute(sdp.trim().substring(8)); } catch (Exception e) { throw new SdpException(PARSE_ERROR + sdp, e); } }  @Override boolean canParse(String sdp); @Override SetupAttribute parse(String sdp); @Override void parse(SetupAttribute field, String sdp); }
SetupAttributeParser implements SdpParser<SetupAttribute> { @Override public SetupAttribute parse(String sdp) throws SdpException { try { return new SetupAttribute(sdp.trim().substring(8)); } catch (Exception e) { throw new SdpException(PARSE_ERROR + sdp, e); } }  @Override boolean canParse(String sdp); @Override SetupAttribute parse(String sdp); @Override void parse(SetupAttribute field, String sdp);  }