Вот значит шаблоны: a) 1# : StringForFirstThreadTooShortException : java.lang.StringIndexOutOfBoundsException: String index out of range: -1 б) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 : StringForSecondThreadTooShortException : 2# в) RuntimeException : java.lang.StringIndexOutOfBoundsException: String index out of range: -1 : 3# Скажите. При чем тут IndexOutOfBoundsException? И откуда число -1? И зачем нам писать во всех трех случаях "java.lang.StringIndexOutOfBoundsException: String index out of range: -1"? Почему в первом шаблоне имя нити в начале? Так должно быть?