Lines Matching refs:cause
37 * <p>A <code>TransformException</code> can contain a cause: another
56 private Throwable cause;
78 * specified detail message and cause.
80 * <code>cause</code> is <i>not</i> automatically incorporated in
84 * @param cause the cause (A <tt>null</tt> value is permitted, and
85 * indicates that the cause is nonexistent or unknown.)
87 public TransformException(String message, Throwable cause) {
89 this.cause = cause;
94 * cause and a detail message of
95 * <code>(cause==null ? null : cause.toString())</code>
97 * <code>cause</code>).
99 * @param cause the cause (A <tt>null</tt> value is permitted, and
100 * indicates that the cause is nonexistent or unknown.)
102 public TransformException(Throwable cause) {
103 super(cause==null ? null : cause.toString());
104 this.cause = cause;
108 * Returns the cause of this <code>TransformException</code> or
109 * <code>null</code> if the cause is nonexistent or unknown. (The
110 * cause is the throwable that caused this
113 * @return the cause of this <code>TransformException</code> or
114 * <code>null</code> if the cause is nonexistent or unknown.
117 return cause;
122 * the cause's backtrace to the standard error stream.
126 if (cause != null) {
127 cause.printStackTrace();
133 * the cause's backtrace to the specified print stream.
139 if (cause != null) {
140 cause.printStackTrace(s);
146 * the cause's backtrace to the specified print writer.
152 if (cause != null) {
153 cause.printStackTrace(s);