部分程序: //TriangleException.java public class TriangleException extends Exception{ double baseA,baseB,baseC; TriangleException(double baseA,double baseB,double baseC){ this.baseA=baseA; this.baseB=baseB; this.baseC=baseC; } public String t