Java Matriz transposta

tenho um exercicio que pede a matriz transposta porem esta dando erro e não consigo arrumar.

import java.util.Random;

public class MatrizAleatoria
{
private final int l,c;
private int m[][];

public MatrizAleatoria(int l, int c){
    this.l=l;
    this.c=c;
    Random gerador = new Random();

    this.m= new int[l][c];
    for (int i = 0; i < l; i++){
        for (int j = 0; j < c; j++) {
            this.m[i][j] = gerador.nextInt(100);
        }
    }
}

public void exibeMatriz(){
    System.out.print(toString());
}

@Override
public String toString(){
    String matriz = "";

    for (int i = 0; i < l; i++){
        for (int j = 0; j < c; j++){
            matriz += m[i][j] + "\t";
        }
        matriz += "\n";
    }
    return matriz += "\n";
}

public void matrizTransposta(){
   int aux = 0;
    
     for (int i = 0; i < l; i++){
        for (int j = 0; j < c; j++){
           aux = aux + m[i][j];
           
            aux = j;
            j = i;
            i = j;
            i = aux;
        }
    }
}

}

Alguém poderia me ajudar?