Class UnsupportedDTException_Test

  • All Implemented Interfaces:
    com.sun.javatest.Test

    public class UnsupportedDTException_Test
    extends com.sun.javatest.lib.MultiTest
    We test this execption by invoking the two constructors for this class. If they throw and we catch the expected execption then this testcase passes, otherwise it fails.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.sun.javatest.lib.MultiTest

        com.sun.javatest.lib.MultiTest.SetupException
    • Field Summary

      • Fields inherited from class com.sun.javatest.lib.MultiTest

        log, ref
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      com.sun.javatest.Status testUnsupportedDTEx()  
      void throwUSDTException()  
      • Methods inherited from class com.sun.javatest.lib.MultiTest

        decodeAllArgs, decodeArg, init, init, invokeTestCase, run, run
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnsupportedDTException_Test

        public UnsupportedDTException_Test()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • testUnsupportedDTEx

        public com.sun.javatest.Status testUnsupportedDTEx()
      • throwUSDTException

        public void throwUSDTException()
                                throws javax.activation.UnsupportedDataTypeException
        Throws:
        javax.activation.UnsupportedDataTypeException