Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8610675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:11:18+00:00 2026-06-12T04:11:18+00:00

I am writting a basic gui with some buttons, and my instance of my

  • 0

I am writting a basic gui with some buttons, and my instance of my guimain class is called guimain.

I have imported this project to another computer and after this change eclispe crys that:
unhandeled exception surround with:

try {
maingui.showStart();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

I tried to clean the project, but I even get this mistake at my old laptop. Therefore I am looking for a solution to prove maingui for exceptions, so that I do not have to worry everytime I use it.

This is what it looks like right now

I appreciate your answer!!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T04:11:19+00:00Added an answer on June 12, 2026 at 4:11 am

    Java requires that if its possible your method raises a checked exception you

    1. either declare the method to throw the exception
      or
    2. handle the exception in your method.

    This doesn’t sound like an eclipse issue, but rather a java compiler telling you you have to surrond with a try catch (2 above) or update your method declaration to throw the exception (1 above)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writting some programs in Haskell, dealing with a lot of basic types like
I have been writing some basic code for an application I am designing. I
I'm writing a basic GUI application that essentially invokes other processes given some parameters,
I'm writing a basic war-driving program. I have gotten it to loop the command
I'm writing very basic schema-based Spring AOP, here's the .xml <bean id=aoplistener class=tao.zhang.Listener/> <aop:config>
I'm currently writing some basic ARM assembler. The idea is to control a theoretical
I'm writting some code in which I try to check every number in a
I have a js script simply getting a basic Json content page.js { desc:,
I am new in coding and sufferin from some basic issues. I searched for
I was asked to write a database and it's GUI frontend for some non-profit

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.