Display entire exception trace in Eclipse console

Posted on 2007-10-16
Last Modified: 2013-12-15
I am getting an exception in when running my program in eclipse. The entire trace is not shown. It displays some of the lines, but then is stays "and 12 more lines"
How do I get these lines to display?
Question by:allelopath
    LVL 5

    Accepted Solution

    This issue was reported as a BUG to sun.

    It's not something that they'll FIX, but they do list the customer's workaround which was to override the printstacktrace function.
    LVL 5

    Expert Comment

    The javadoc on printStackTrace() contains an example of how the output should look:
    LVL 1

    Author Comment

    So the exception class is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
    I should create my own CommunicationsException?

    package com.mycompany.exceptions;

    public class CommunicationsException {

    public void printStackTrace(PrintWriter s) {
      // what goes here?
    LVL 1

    Author Comment

    I thought this was an Eclipse issue, but it is a Java issue.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project ( automates most of the tasks discussed in this article. You can even fin…
    How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from ( Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
    The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
    THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now