src/main/java/ognl/OgnlException.java
public void printStackTrace(java.io.PrintStream s)
    {
        synchronized (s)
        {
            super.printStackTrace(s);
            if ( _reason != null ) {
                s.println(  "/-- Encapsulated exception ------------\\" );
                _reason.printStackTrace(s);
                s.println( "\\--------------------------------------/" );
            }
        }
    }
public void printStackTrace(java.io.PrintStream s)
    {
        synchronized (s)
        {
            super.printStackTrace(s);
            if ( _reason != null ) {
                s.println(  "/-- Encapsulated exception ------------\\" );
                _reason.printStackTrace(s);
                s.println( "\\--------------------------------------/" );
            }
        }
    }
public void printStackTrace ( java . io . PrintStream 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 stream.
Prints the stack trace for this ( and possibly the encapsulated ) exception on the given print stream .