Package org.pentaho.platform.plugin.action.mondrian

Examples of org.pentaho.platform.plugin.action.mondrian.InvalidDocumentException


  }

  public void testInvalidDocumentException1() {
    startTest();
    info( "Expected: Exception will be caught and thrown as a Invalid Document Exception" ); //$NON-NLS-1$
    InvalidDocumentException ide1 = new InvalidDocumentException( "A test Invalid Document Exception has been thrown" ); //$NON-NLS-1$
    System.out.println( "Invalid Document Exception :" + ide1 ); //$NON-NLS-1$   
    assertTrue( true );
    finishTest();
  }
View Full Code Here


  }

  public void testInvalidDocumentException2() {
    startTest();
    info( "Expected: A Invalid Document Exception will be created with Throwable as a parameter" ); //$NON-NLS-1$
    InvalidDocumentException ide2 = new InvalidDocumentException( new Throwable( "This is a throwable exception" ) ); //$NON-NLS-1$
    System.out.println( "Invalid Document Exception :" + ide2 ); //$NON-NLS-1$   
    assertTrue( true );
    finishTest();

  }
View Full Code Here

  }

  public void testInvalidDocumentException3() {
    startTest();
    info( "Expected: Exception will be caught and thrown as a Invalid Document Exception" ); //$NON-NLS-1$
    InvalidDocumentException ide3 =
        new InvalidDocumentException( "A test Invalid Document Exception has been thrown", new Throwable() ); //$NON-NLS-1$
    System.out.println( "Invalid Document Exception :" + ide3 ); //$NON-NLS-1$   
    assertTrue( true );
    finishTest();

  }
View Full Code Here

TOP

Related Classes of org.pentaho.platform.plugin.action.mondrian.InvalidDocumentException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.