Need help with converting date format to decimal in SSRS expression.

Hi all,
I have a decimal data type column with a record in the following format 20150219 --> yyyyMMdd. And I am trying to convert the return value from SSRS date/time parameter to a decimal value.
The TMDTOP column is the decimal data type with date records in yyyyMMdd format.
My return parameter is the following:
=IIf(IsNothing(Parameters!SystemDate.Value),Fields!TMDTSY.Value,CDec(Format(Parameters!SystemDate.Value,"yyyyMMdd"))) 
When I try to run the report I get the following error:
Failed to evaluate the FilterValue of the DataSet ‘DataSet1’. (rsFilterEvaluationError)
I appreciate if anyone can help me on solving this problem.
Thanks in advance.

why casting date to decimal here? Can you explain?
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page

Similar Messages

  • Need help in converting date format

    Hi,
    Need help in converting date format from 'DD-MON-YYYY' to 'YYYY-MM-DD' in an .rtf template as I believe xml publisher supports the date format as 'YYYY-MM-DD' only.
    Thanks,
    Raj.

    I got the same problem, anyone know how to solve this problem? I allready found some date functions on http://blogs.oracle.com/xmlpublisher/2008/09/date_functions.html . I also tried <?xdoxslt:month_name(xdoxslt:get_month(xdofx:substr(NEED_BY_DATE, 4,3)), $_XDOLOCALE), 0, 'nl-NL')?>, but then it returns a namespace error (Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'xdofx' used but not declared.). Anyone know how to fix this?
    Edited by: user11165753 on 7-dec-2009 23:50

  • Need help with saving data and keeping table history for one BP

    Hi all
    I need help with this one ,
    Scenario:
    When adding a new vendor on the system the vendor is suppose to have a tax clearance certificate and it has an expiry date, so after the certificate has expired a new one is submitted by the vendor.
    So i need to know how to have SBO fullfil this requirement ?
    Hope it's clear .
    Thanks
    Bongani

    Hi
    I don't have a problem with the query that I know I've got to write , the problem is saving the tax clearance certificate and along side it , its the expiry date.
    I'm using South African localization.
    Thanks

  • How to convert Date format into day in ssrs reports?

    Hi
    How to convert date format into day?
    10/01/2010 as like Monday like that?

    =weekdayname(datepart("w",Fields!mydate.Value))
    -Vaibhav Chaudhari

  • Hi, I need help with the dates of plugins added to my browser

    Hi I need to know what date a plugin was installed on my browser.
    openh264 / video codec provided by cisco systems.
    If you can't help, please point me in the direction of someone who can?
    Any help greatly appreciated.

    The new "OpenH264 Video Codec provided by Cisco Systems, Inc." plugin that now shows up in the Firefox Add-ons Manager Plugins list was added in Firefox 33.0. It's installed in a subfolder of your [[Profiles|Firefox profile folder]], which you can confirm by typing '''about:plugins''' in the Firefox address bar to bring up a list of installed plugins (details [http://kb.mozillazine.org/Issues_related_to_plugins#Identifying_installed_plugins here]) and checking its "Path" entry .
    The first link in the [https://www.mozilla.org/en-US/firefox/33.0/releasenotes/ Firefox 33.0 release notes] under What’s New, has this:
    '''New''' | [http://andreasgal.com/2014/10/14/openh264-now-in-firefox/ OpenH264 support] * (sandboxed)
    [*] Quoted from the linked page, http://andreasgal.com/2014/10/14/openh264-now-in-firefox/
    (which also includes a [https://andreasgal.files.wordpress.com/2014/10/openh264.jpg screenshot] of the Add-ons Manager entry):
    <blockquote>Today in collaboration with Cisco we are shipping support for H.264 in our WebRTC implementation. </blockquote>
    <blockquote>Cisco has agreed to distribute OpenH264, a free H.264 codec plugin that Firefox downloads directly from Cisco.</blockquote>
    <blockquote> Note: Firefox currently uses OpenH264 only for WebRTC and not for the <nowiki><video></nowiki> tag, because OpenH264 does not yet support the high profile format frequently used for streaming video. We will reconsider this once support has been added. </blockquote>
    See also:
    *https://wiki.mozilla.org/Media/WebRTC
    *https://wiki.mozilla.org/GeckoMediaPlugins

  • Need help with enhanced data source in Production system

    Hello Gurus,
    1.                  I enhanced a datasource in BW and populated the field using customer exit using CMOD function. In Dev system, i dont have much data, so I deleted the whole data and did full load.
    what shud I do in Production side, so that Delta wudnt be affected??since in production, we have millions of records, we wont do full load., what is the best way to populate the field in production after transporting the datasource to production without disturbing delta's, to reflect the new field for previous years data???
    2.  can we put 0customer and 0material in the same dimension?? how its going to affect the performance?
    Thanks in advance.,
    Best Regards,
    Pavan

    Hi,
    Please see this
    1.
    see this thread
    populated the new field with historic data
    2. can we put 0customer and 0material in the same dimension?? how its going to affect the performance?
    Its better not to use them in a single dimension  because one customer and take more than one material so if you have 100 customer and 1000 materials  this combination will generate a large number of records. Its always better to keep characteristic which are having 1:N relation ship in one dimensional in you  case customer and material will have an M:N type of relationship.which will result in slow performance.
    Regards,
    Ravi

  • Need help with Rollback data if there is error in Data load

    Hi All,
    We are trying to load data to Oracle 11g database. We want a trigger, procedure or something like that to rollback the data if there are errors in load. Is it possible to do rollback after all the records has been parsed ? So if we try to load 100 records and if there are 30 records with error, we want to rollback after all the 100 records are parsed.
    Please advice.

    >
    Thanks for the suggestion. I'll try that option. So currently we are only loading data that is validated and erroneous records are rejected using trigger. So we don't get any invalid data in table. But Now users are saying that all the records should be rejected if there is even one error in the data load.
    >
    I generally use a much simpler solution for such multi-stage ETL processes.
    Each table has a IS_VALID column that defaults to 'N'. Each step of the process only pulls data with the flag set to 'Y'.
    That allows me to leave data in the table but guarantee that it won't be processed by subsequent stages. Since most queries that move data from one stage to another ultimately have to read table rows (i.e. they can't just use indexes) it is not a performance issue to add a predicate such as "'AND IS_VALID = 'Y'" to the query that accesses data.
    1. add new unvalidated data - automatically flagged an invalid by default of 'N" on IS_VALID column
    2. run audit step #1 - capture the primary key/rowid of any row failing the audit.
    3. run audit steps #2 through #n - capture error row ids
    4. Final step - update the data setting IS_VALID to 'Y' only if a row passes ALL audits: that is, only if there are NO fatal errors for that row captured in the error table.
    That process also allows me to capture every single problem that any row has so that I can produce reports for the business users that show everything that is wrong with the data. There are some problems that the business wan't to ignore, others that can be fixed in the staging tables then reprocessed and others that are rejected since they must be fixed in the source system and that can take several days.
    For data that can be fixed in the staging tables the data is fixed and then the audit is rerun which will set the IS_VALID flag to 'Y' allowing those 'fixed' rows to be included in the data that feeds the next processing stage.

  • Need help to convert this format of string in a int value?

    public static int isNumber( String number, int defaultValue ) {
              int result;
              try {
                   result = Integer.parseInt(number);
              } catch( Exception e ) {
                   result = defaultValue;
              return result;
         }Hi, I have the above method that converts a string Number into a int value. It works fine if the string is a normal number 234 (without spaces) but I have a string in the following format:
    *(space)�23,000(space).*
    That is I have a "space" then a "Pound" sign then two numbers then a comma followed by three numbers and then a space again.
    Is there any way I can convert this format into a simple int value?
    Thanks for any guidance.
    Zub

    Hi, I tried the following code but it don't seem to work
         public static int isNumberTrimSpaces( String number, int defaultValue ) {
              number.trim();
              String parsed = "";
              for (int i = 0 ; i < number.length() && number.charAt(i) != ',' ; i++)
             if (Character.isDigit(number.charAt(i))) {
             parsed += number.charAt(i);}
              int result;
              try {
                   result = Integer.parseInt(number);
              } catch( Exception e ) {
                   result = defaultValue;
              return result;
         }Any Ideas? Also will the loop get rid of the pound sign?

  • Need help with infinity data extencion kit

    i had bt infinity installed the other day and was not told i need a better wireless card to get full speed i rang up bt and they told me my wireless card is not compatable to go above 20mb so i ask them to send out a data extencion kit and they told me they will need to send out someone and it will cost £205 for it all, Surly this should be part of the install or at least the engineer should have discussed this with me please someone help

    Read this topic
    http://community.bt.com/t5/BB-in-Home/Data-Extension-Kit/td-p/64869
    If any post helps tick the star box on the left
    Just cause Im paranoid dont mean they are not out to get me

  • Need help with converting a query to maxDB

    Hello,
    I'm experienced in SQL Server however not yet familiar with the MaxDB functions very well.
    I need to convert the following WHERE clause in a query to one that can run on MaxDB:
    WHERE DATEADD(MILLISECOND, Timestamp, '19000101') >= DATEADD(YEAR, DATEDIFF(YEAR, '19000101', DATEADD(DAY, -10, GETDATE())), '19000101')
       AND DATEADD(MILLISECOND, Timestamp, '19000101') < DATEADD(DAY, -9, DATEADD(DAY, DATEDIFF(DAY, '19000101', GETDATE()), '19000101'))
    Rgds,
    Roy

    Hi Elke,
    Thanks, I'll try that.
    I don't want any data from the last 9 days not from the first 9 days of the year, so if today is 17/5/2010 the BETWEEN will be: 1/1/2010 and 8/5/2010 and if today was 10/2/2010 for example the BETWEEN would have been: 1/1/2010-1/2/2010.
    HOWEVER, if today was 5/1/2010 then the BETWEEN should automatically adjust itself to 2009 and check for: 1/1/2009-27/12/2009 since when rolling 5/1/2010 10 days backwards we're still in 2009, so the query needs to first rollback and then make the dates reference.
    I don't believe that what you have provided answers these requirements but than again I might be wrong...
    Rgds,
    Roy

  • Need Help with simple date conversion

    Hi all,
    I have been creating integrations from custom Oracle tables to my Hyperion Planning application. I have most of them working, but am having issues loading dates to the application.
    The dates in the source are formatted as M/DD/YY.
    Hyperion can only recieve the dates if they are in MM-DD-YYY format. (atleast that is the error I receive when I load the interface)
    Could someone please help me build an ODI expression that will convert/format the date? My SQL is pretty weak.
    Thanks,
    Nick

    Thanks for the reply. I guess one of my issues is I am trying to do this conversion in my Sunopsis Memory Staging Area. So I guess I should be using SQL to convert the date, but I am still having issues.
    Here is the error from my log file when I attempt a straight mapping of the date...
    B9708547A,Plan1,2001-08-27,OrganizationNone,Project Type None,BegBalance,FY11,RateNone,Working,Final,Cannot load dimension member, error message is: com.hyperion.planning.HspRuntimeException: Date is incorrectly formatted, expecting "MM-DD-YYYY" format.
    Here is the SQL statement from the operator when I attempt (poor attempt) at converting the date....
    sql= """select C2_MT_PROJECTID "Project",'Plan1' "Data Load Cube Name",CONVERT(C1_MT_PROJ_START_DT,Date('MM-DD-YYYY')) "StartDate",'OrganizationNone' + ',' + 'Project Type None' + ',' + 'BegBalance' + ',' + 'FY11' + ',' + 'RateNone' + ',' + 'Working' + ',' + 'Final' "Point-of-View" from "C$_0Project" where      (1=1) """
    Here is the error from the operator get...
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 20, in ?
    java.sql.SQLException: Unexpected token in statement [select   C2_MT_PROJECTID    "Project",'Plan1'    "Data Load Cube Name",CONVERT(C1_MT_PROJ_START_DT,Date(]
         at org.hsqldb.jdbc.jdbcUtil.sqlException(jdbcUtil.java:67)
         at org.hsqldb.jdbc.jdbcStatement.fetchResult(jdbcStatement.java:1598)
         at org.hsqldb.jdbc.jdbcStatement.executeQuery(jdbcStatement.java:194)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
         at org.python.core.PyMethod.__call__(PyMethod.java)
         at org.python.core.PyObject.__call__(PyObject.java)
         at org.python.core.PyInstance.invoke(PyInstance.java)
         at org.python.pycode._pyx14.f$0(<string>:20)
         at org.python.pycode._pyx14.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyCode.call(PyCode.java)
         at org.python.core.Py.runCode(Py.java)
         at org.python.core.Py.exec(Py.java)
         at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    java.sql.SQLException: java.sql.SQLException: Unexpected token in statement [select   C2_MT_PROJECTID    "Project",'Plan1'    "Data Load Cube Name",CONVERT(C1_MT_PROJ_START_DT,Date(]
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)

  • Need help with recovering data from a truecrypt HDD

    I have done something stupid, I have run fdisk on my truecrypt hdd by mistake, and created 2 new partition. the 1st one on 67mb and the 2sd for the rest of the hdd.
    Can someone plz help me with restoring the data? I am not really sure there to begin.

    Get testdisk.  I use Parted Magic to recover partitions with Testdisk.  So long as you can decrypt the resurrected partitions AND provided you have NOT written to those two partitions after they were fdisk'ed you should be able to recover from this mess.  I really recommend PartedMagic for this sort of thing only because it has a good interface and a lot of other tools in one place.
    Testdisk isn't hard to use and there are mini-tutorials out there if you're really stuck such as these links from our wiki:
    Testdisk and Photorec

  • I need help with 'Documents & Data' taking up all the space on my iPhone

    Hello, I have searched for days on the internet for a way to solve my problem but nothing and I really mean NOTHING seems to work at all.
    I can't buy any software either.
    When I go into Settings>iCloud Documents &  Data are off and have been off all the time. Yet I STILL have Documents &  Data taking up 5 GB of my phone and I don't have much space either.
    I have hopelessly tried deleting most of my messages and NONE and I mean NONE of the space has been given to me, nothing changed but my messages completely disappeared. No I do not use iCloud and I have the latest software updates. My phone is not jailbroken. I even tried deleting most of my apps and installing them again but that didn't work either. Photos take a small amount of space on my iPhone.
    I really hope someone can help me this is a really big issue for me and I do not fancy resetting the phone back to its Factory settings.
    I am new to the apple forum so sorry if this isn't in the right category or something. Thank you in advance. I also do not really fancy going all the way to the centre of the city to go to a Genius Bar.
    By the way, a few minutes ago I tried backing up my iPhone and syncing it again and a message popped out telling me that I need additional 4 GB of space in order to let it sync and I do not understand this, Documents & Data take more and more of my space every time I look. Also all the messages I delete come right back when I turn the phone on and off.

    Hi demolitonlovers,
    If you have unaccounted for data taking up storage space on your iPhone, you may find the following articles helpful in identifying what is taking up the space and how to remove it:
    iPhone, iPad, and iPod: Understanding capacity
    http://support.apple.com/kb/ht1867
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/TS1503
    Regards,
    - Brenden

  • Need help with XML output formatting

    Please see:
    http://forums.adobe.com/thread/852920?tstart=0
    Didn't want to cross post. Thanks!

    Are you going to use this HD exclusively on Mac? If so, you may copy the data to another place (I have no idea how much data we're talking about here), then reformat the disk for better Mac compatibility.
    If you're going to need to access if from Windows machine too, or for some unknown reason you want to keep it formatted NTFS, you can use something like this so Mac will be able to write to it:
    http://macntfs-3g.blogspot.com/2010/10/ntfs-3g-for-mac-os-x-2010102.html

  • Need help with saving data

    I recently started studying in IT at college, and I think I have the basics in Java programming, however we haven't
    been taught how to save data in our apps, so everytime i close my app, I lose all changes.
    I went through Sun's IO tutorial, as well as a few tutorials online and I made a small application to practice saving my
    Objects, however I can't seem to get it to work. I was hoping someone could look at my code and tell me what seems
    to be my problem.
    There are 3 classes in my project. The Base class makes a List that holds objects of type Person. the UIPerson class
    has 3 buttons (Add, Save, Load) and a JList. When clicking on Add, it adds a new Person in the base and is shown in
    the JList. The saving and loading is what I have trouble with.
    UIPerson :
    public class UIPerson extends JFrame implements Serializable{
         private JFrame jFrame = null; 
         private JPanel jContentPane = null;
         private JButton jbAdd = null;
         private JButton jbSave = null;
         private JButton jbLoad = null;
         private JList list = null;
         private Base base = null;
         public static void main(String args[]){
              UIPerson personList = new UIPerson();
         public UIPerson(){
                   base = new Base();
                   Container pane = getContentPane();
                   setSize(288, 309);
                   setVisible(true);
                   jContentPane = new JPanel();
                   jContentPane.setLayout(null);
                   jbAdd = new JButton();
                   jbAdd.setBounds(new Rectangle(24, 59, 58, 24));
                   jbAdd.setText("Add");
                   jbAdd.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
                             String Name, famName;
                             Name = JOptionPane.showInputDialog("Enter Name", null);
                             famName = JOptionPane.showInputDialog("Enter Family Name", null);
                             base.addPerson(new Person(Name, famName));
                             list.setListData(base.listPerson());
                   jbSave = new JButton();
                   jbSave.setBounds(new Rectangle(19, 106, 69, 34));
                   jbSave.setText("Save");
                   jbSave.addActionListener(new java.awt.event.ActionListener(){
                        public void actionPerformed(java.awt.event.ActionEvent e){
                             try{
                                  FileOutputStream fos = new FileOutputStream("temp.dat");
                                  ObjectOutputStream oos = new ObjectOutputStream(fos);
                                  oos.writeObject(base);
                             catch(Exception ex){
                                  System.out.println("Save Failed");
                   jbLoad = new JButton();
                   jbLoad.setBounds(new Rectangle(23, 154, 70, 29));
                   jbLoad.setText("Load");
                   jbLoad.addActionListener(new java.awt.event.ActionListener(){
                        public void actionPerformed(java.awt.event.ActionEvent e){
                             try{
                                  FileInputStream fis = new FileInputStream("temp.dat");
                                  ObjectInputStream ois = new ObjectInputStream(fis);
                                  base = (Base)ois.readObject();
                                  list.setListData(base.listPerson());
                             catch(Exception exc){
                                  System.out.println("Load Failed");
                   list = new JList();
                   list.setBounds(new Rectangle(133, 47, 139, 151));
                   jContentPane.add(jbAdd);
                   jContentPane.add(jbSave);
                   jContentPane.add(jbLoad);
                   jContentPane.add(list);
                   pane.add(jContentPane);
    }Base :
    public class Base implements Serializable{
         private ArrayList<Person> list;
         public Base(){
              list = new ArrayList<Person>();
              list.clear();
         public void addPerson(Person person){
              list.add(person);
         public void deletePerson(Person person){
              list.remove(person);
         public Person[] listPerson(){
              Person tab[] = new Person[list.size()];
              list.toArray(tab);
              return tab;
         public Person getPerson(Person person){
              ListIterator<Person> iterator = list.listIterator();
              Person current = null;
              while (iterator.hasNext()){
                   current = iterator.next();
                   if (current.equals(person))
                        return current;
              return null;
    }Person :
    public class Person {
         private String name, familyName;
         public Person(String name, String familyName){
              this.name = name;
              this.familyName = familyName;
         public String getName(){
              return name;
         public String getFamilyName(){
              return familyName;
         public String toString(){
              return name + " " + familyName;
    }I'd appreciate any help that could be given.

    My probelm is with my save/load funtions only, sorry for the extra code. Everytime i press on save or load, they
    throw an IOException. Heres the code I specifically wanted viewed to know if there are any mistakes in it.
    Save Button :
    jbSave.addActionListener(new java.awt.event.ActionListener(){
              public void actionPerformed(java.awt.event.ActionEvent e){
                   try{
                        FileOutputStream fos = new FileOutputStream("temp.dat");
                        ObjectOutputStream oos = new ObjectOutputStream(fos);
                        oos.writeObject(base);
                   catch(FileNotFoundException ex){
                        System.out.println("(Save)File Not Found Exception");
                   catch(IOException ex){
                        System.out.println("(Save)IOException");
         });Load Button :
    jbLoad.addActionListener(new java.awt.event.ActionListener(){
              public void actionPerformed(java.awt.event.ActionEvent e){
                   try{
                        FileInputStream fis = new FileInputStream("temp.dat");
                        ObjectInputStream ois = new ObjectInputStream(fis);
                        base = (Base)ois.readObject();
                        list.setListData(base.listPerson());
                   catch(FileNotFoundException exc){
                        System.out.println("(Load) File not found exception");
                   catch(IOException exc){
                        System.out.println("(Load) IO Exception");
                   catch(ClassNotFoundException exc){
                        System.out.println("(Load) Class not found exception");
         });

Maybe you are looking for