McCawley was born in Toowoomba, Queensland, Australia. He was of Irish-Catholic background, his father having been born in County Leitrim, Ireland. On his mother's side he had German ancestry, his mother coming from Darmstadt, Germany. He was educated at the Sisters of Mercy's Hibernian Hall and a state school in Toowoomba. At the age of 14 he took a job for three years as a clerk in the Toowoomba firm of solicitors, Hamilton & Wonderley. Later, McCawley was employed by the Queensland Government Savings Bank, and was successively transferred to the offices of the public service board and the Department of Justice. Studying after hours, he passed the prescribed examinations and was admitted to the Queensland bar on 7 May 1907. In November 1910, at the age of 29 he was appointed crown solicitor, an appointment which was controversial at the time. McCawley was a staunch Catholic. This, and his links with the Labor Party in Queensland, attracted criticism from some parts of the legal profession in Queensland when he was appointed to a number of senior legal positions in the state There were objections from some quarters, both on political grounds and on the grounds of his lack of experience as practising barrister, when he was appointed as the first president of the Queensland Court of Industrial Arbitration in January 1917, and then puisne judge of the Supreme Court of Queensland in October 1917. Challenges to his appointment in the Supreme Court of Queensland, and in the High Court of Australia, were successful but were overturned by the Privy Council in London. During the next few years, until his premature death, he made a significant contribution to industrial relations law. McCawley made contributions to industrial law and relations, and framed an award for railway employees. McCawley was made chief justice of Queensland on the retirement of Sir Pope Cooper on 1 April 1922 when, aged 41, he became the youngest chief justice in the British Empire. McCawley held office until 16 April 1925 when he died suddenly of a heart attack at Roma Street railway station in Brisbane while running to catch a train to Ipswich to attend to legal affairs. He was survived by his wife, four sons and one daughter. McCawley was given a State funeral at St Stephen's Cathedral and buried at Toowong Cemetery.
Legacy
On 13 December 1927 a bronze bust of McCawley was unveiled at the Board of Arbitration in Brisbane. McCawley Street in the Brisbane suburb of Stafford is named after him. In September 1961, McCawley Street in the suburb of Watson in Canberra was named after him in recognition, among other things, of his contributions in the field of industrial law and industrial arbitration. On 22 November 2018, Professor Nicholas Aroney from the University of Queensland delivered the fifth lecture in the 2018 lecture series on in the Banco Court in the Supreme Court of Queensland.