Lines Matching refs:stackTrace

165      * stackTrace, and suppressedExceptions obey the following
210 private StackTraceElement[] stackTrace = UNASSIGNED_STACK;
325 * {@code stackTrace} field, and subsequent calls to {@code
362 stackTrace = null;
781 if (stackTrace != null ||
784 stackTrace = UNASSIGNED_STACK;
822 if (stackTrace == UNASSIGNED_STACK ||
823 (stackTrace == null && backtrace != null) /* Out of protocol state */) {
825 stackTrace = new StackTraceElement[depth];
827 stackTrace[i] = getStackTraceElement(i);
828 } else if (stackTrace == null) {
831 return stackTrace;
850 * @param stackTrace the stack trace elements to be associated with
856 * @throws NullPointerException if {@code stackTrace} is
858 * {@code stackTrace} are {@code null}
862 public void setStackTrace(StackTraceElement[] stackTrace) {
864 StackTraceElement[] defensiveCopy = stackTrace.clone();
867 throw new NullPointerException("stackTrace[" + i + "]");
871 if (this.stackTrace == null && // Immutable stack
874 this.stackTrace = defensiveCopy;
906 * stackTrace} field.
940 * stackTrace indicates to the getOurStackTrace method that
941 * the stackTrace needs to be constructed from the information
944 if (stackTrace != null) {
945 if (stackTrace.length == 0) {
946 stackTrace = UNASSIGNED_STACK.clone();
947 } else if (stackTrace.length == 1 &&
949 SentinelHolder.STACK_TRACE_ELEMENT_SENTINEL.equals(stackTrace[0])) {
950 stackTrace = null;
952 for(StackTraceElement ste : stackTrace) {
958 // A null stackTrace field in the serial form can result
962 stackTrace = UNASSIGNED_STACK.clone();
975 // Ensure that the stackTrace field is initialized to a
981 StackTraceElement[] oldStackTrace = stackTrace;
983 if (stackTrace == null)
984 stackTrace = SentinelHolder.STACK_TRACE_SENTINEL;
987 stackTrace = oldStackTrace;