public String toStringPlus ( String destName , String busName ) { StringBuffer sb = new StringBuffer ( toString ( ) ) ; // Add the destination name which has triggered the exception to the end // of the list, making the problem obvious. String compoundName = new CompoundName ( destName , busName ) . toString ( ) ; sb . append ( " -> " ) ; sb . append ( compoundName ) ; return sb . toString ( ) ; }
Return a string representation of the alias chain appended with the destination name given .