Пример #1
0
 /**
  * Writes a printable representation of this {@code Throwable}'s stack trace
  * to the specified print stream. If the {@code Throwable} contains a
  * {@link #getCause() cause}, the method will be invoked recursively for
  * the nested {@code Throwable}.
  *
  * @param err
  *            the stream to write the stack trace on.
  */
 public virtual void printStackTrace(PrintStream err)
 {
     // we want better OO and do not implement two time same, so we delegate to next
     this.printStackTrace(new java.io.PrintWriter(err, true));
 }
Пример #2
0
 public void setOut(PrintStream outputPrintStream)
 {
     outJ = outputPrintStream;
 }
Пример #3
0
 static SystemJ()
 {
     outJ = new dotnet.lang.ConsoleOutputPrintStream();
     inJ = new dotnet.lang.ConsoleInputStream();
     err = new dotnet.lang.ConsoleErrorPrintStream();
 }
Пример #4
0
 /**
  * Writes a printable representation of this {@code Throwable}'s stack trace
  * to the specified print stream. If the {@code Throwable} contains a
  * {@link #getCause() cause}, the method will be invoked recursively for
  * the nested {@code Throwable}.
  *
  * @param err
  *            the stream to write the stack trace on.
  */
 public virtual void printStackTrace(PrintStream err)
 {
     // we want better OO and do not implement two time same, so we delegate to next
     this.printStackTrace(new java.io.PrintWriter(err,true));
 }
Пример #5
0
 public void setOut(PrintStream outputPrintStream)
 {
     outJ = outputPrintStream;
 }