3 |
import com.ibm.mq.MQException; |
import com.ibm.mq.MQException; |
4 |
import java.io.PrintStream; |
import java.io.PrintStream; |
5 |
|
|
6 |
|
import org.apache.commons.lang3.exception.ExceptionUtils; |
7 |
|
|
8 |
public class MQDepth |
public class MQDepth |
9 |
{ |
{ |
10 |
public static void main(String[] args) |
public static void main(String[] args) |
44 |
|
|
45 |
|
|
46 |
} catch (Exception e) { |
} catch (Exception e) { |
47 |
//e.printStackTrace(); |
System.out.println( ExceptionUtils.getStackTrace(e) ); |
48 |
System.out.println( e.getClass().getName() + ": " + e.getMessage() ); |
System.out.println( e.getClass().getName() + ": " + e.getMessage() ); |
49 |
System.exit(3); |
System.exit(3); |
50 |
} |
} |