Search in sources :

Example 6 with PentahoSystemException

use of org.pentaho.platform.api.engine.PentahoSystemException in project pentaho-platform by pentaho.

the class PentahoSystemExceptionTest method testPentahoSystemException2.

public void testPentahoSystemException2() {
    // info("Expected: Exception will be caught and thrown as a Hitachi Vantara System Exception"); //$NON-NLS-1$
    // $NON-NLS-1$
    PentahoSystemException pse1 = new PentahoSystemException("A test Pentaho System Exception has been thrown");
    // $NON-NLS-1$
    System.out.println("PentahoSystemException :" + pse1);
    Assert.assertTrue(true);
}
Also used : PentahoSystemException(org.pentaho.platform.api.engine.PentahoSystemException)

Aggregations

PentahoSystemException (org.pentaho.platform.api.engine.PentahoSystemException)6 PreparedStatement (java.sql.PreparedStatement)1 ResultSet (java.sql.ResultSet)1 SQLException (java.sql.SQLException)1 Statement (java.sql.Statement)1 HashMap (java.util.HashMap)1 StringTokenizer (java.util.StringTokenizer)1 IPentahoResultSet (org.pentaho.commons.connection.IPentahoResultSet)1 ObjectFactoryException (org.pentaho.platform.api.engine.ObjectFactoryException)1 SimpleParameterProvider (org.pentaho.platform.engine.core.solution.SimpleParameterProvider)1