コード例 #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
ファイル: java.lang.SystemJ.cs プロジェクト: gadfly/nofs
 static SystemJ()
 {
     outJ = new dotnet.lang.ConsoleOutputPrintStream();
     inJ = new dotnet.lang.ConsoleInputStream();
     err = new dotnet.lang.ConsoleErrorPrintStream();
 }
コード例 #4
0
ファイル: Throwable.cs プロジェクト: sailesh341/JavApi
 /**
  * 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
ファイル: java.lang.SystemJ.cs プロジェクト: gadfly/nofs
 public void setOut(PrintStream outputPrintStream)
 {
     outJ = outputPrintStream;
 }