src/main/java/ognl/OgnlException.java
public void printStackTrace(java.io.PrintWriter s)
    {
        synchronized (s)
        {
            super.printStackTrace(s);
            if ( _reason != null ) {
                s.println(  "/-- Encapsulated exception ------------\\" );
                _reason.printStackTrace(s);
                s.println( "\\--------------------------------------/" );
            }
        }
    }
public void printStackTrace(java.io.PrintWriter s)
    {
        synchronized (s)
        {
            super.printStackTrace(s);
            if ( _reason != null ) {
                s.println(  "/-- Encapsulated exception ------------\\" );
                _reason.printStackTrace(s);
                s.println( "\\--------------------------------------/" );
            }
        }
    }
public void printStackTrace ( java . io . PrintWriter s ) { synchronized ( s ) { super . printStackTrace ( s ) ; if ( _reason != null ) { s . println ( "/-- Encapsulated exception ------------\\" ) ; _reason . printStackTrace ( s ) ; s . println ( "\\--------------------------------------/" ) ; } } }
Prints the stack trace for this (and possibly the encapsulated) exception on the
given print writer.
Prints the stack trace for this ( and possibly the encapsulated ) exception on the given print writer .