Search in sources :

Example 1 with ProcessorException

use of com.sun.tools.ws.processor.ProcessorException in project metro-jax-ws by eclipse-ee4j.

the class ProcessorExceptionTest method testLocalizability.

public void testLocalizability() {
    String msg = "Try localizing me";
    ProcessorException pe = new ProcessorException(msg);
    Localizer localizer = new Localizer();
    assertEquals(msg, localizer.localize(pe));
}
Also used : ProcessorException(com.sun.tools.ws.processor.ProcessorException) Localizer(com.sun.istack.localization.Localizer)

Aggregations

Localizer (com.sun.istack.localization.Localizer)1 ProcessorException (com.sun.tools.ws.processor.ProcessorException)1