Lines Matching refs:cause
42 * <p>A <code>NoSuchMechanismException</code> can contain a cause: another
63 private Throwable cause;
85 * specified detail message and cause.
87 * <code>cause</code> is <i>not</i> automatically incorporated in
91 * @param cause the cause (A <tt>null</tt> value is permitted, and
92 * indicates that the cause is nonexistent or unknown.)
94 public NoSuchMechanismException(String message, Throwable cause) {
96 this.cause = cause;
101 * specified cause and a detail message of
102 * <code>(cause==null ? null : cause.toString())</code> (which typically
103 * contains the class and detail message of <code>cause</code>).
105 * @param cause the cause (A <tt>null</tt> value is permitted, and
106 * indicates that the cause is nonexistent or unknown.)
108 public NoSuchMechanismException(Throwable cause) {
109 super(cause==null ? null : cause.toString());
110 this.cause = cause;
114 * Returns the cause of this <code>NoSuchMechanismException</code> or
115 * <code>null</code> if the cause is nonexistent or unknown. (The
116 * cause is the throwable that caused this
119 * @return the cause of this <code>NoSuchMechanismException</code> or
120 * <code>null</code> if the cause is nonexistent or unknown.
123 return cause;
128 * the cause's backtrace to the standard error stream.
132 //XXX print backtrace of cause
137 * the cause's backtrace to the specified print stream.
143 //XXX print backtrace of cause
148 * the cause's backtrace to the specified print writer.
154 //XXX print backtrace of cause