< prev index next >

src/java.xml.bind/share/classes/javax/xml/bind/TypeConstraintException.java

Print this page




 157                                 linkedException.toString()+ "]";
 158     }
 159 
 160     /**
 161      * Prints this TypeConstraintException and its stack trace (including the stack trace
 162      * of the linkedException if it is non-null) to the PrintStream.
 163      *
 164      * @param s PrintStream to use for output
 165      */
 166     public void printStackTrace( java.io.PrintStream s ) {
 167         if( linkedException != null ) {
 168           linkedException.printStackTrace(s);
 169           s.println("--------------- linked to ------------------");
 170         }
 171 
 172         super.printStackTrace(s);
 173     }
 174 
 175     /**
 176      * Prints this TypeConstraintException and its stack trace (including the stack trace
 177      * of the linkedException if it is non-null) to <tt>System.err</tt>.
 178      *
 179      */
 180     public void printStackTrace() {
 181         printStackTrace(System.err);
 182     }
 183 
 184 }


 157                                 linkedException.toString()+ "]";
 158     }
 159 
 160     /**
 161      * Prints this TypeConstraintException and its stack trace (including the stack trace
 162      * of the linkedException if it is non-null) to the PrintStream.
 163      *
 164      * @param s PrintStream to use for output
 165      */
 166     public void printStackTrace( java.io.PrintStream s ) {
 167         if( linkedException != null ) {
 168           linkedException.printStackTrace(s);
 169           s.println("--------------- linked to ------------------");
 170         }
 171 
 172         super.printStackTrace(s);
 173     }
 174 
 175     /**
 176      * Prints this TypeConstraintException and its stack trace (including the stack trace
 177      * of the linkedException if it is non-null) to {@code System.err}.
 178      *
 179      */
 180     public void printStackTrace() {
 181         printStackTrace(System.err);
 182     }
 183 
 184 }
< prev index next >