Searched refs:exception (Results 26 - 50 of 372) sorted by relevance

1234567891011>>

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/impl/s2j/
H A DDowngradingErrorHandler.java8 * particular file as subject to the "Classpath" exception as provided
44 public void warning(SAXParseException exception) throws SAXException { argument
45 core.warning(exception);
48 public void error(SAXParseException exception) throws SAXException { argument
49 core.warning(exception);
52 public void fatalError(SAXParseException exception) throws SAXException { argument
53 core.warning(exception);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/util/
H A DFatalAdapter.java8 * particular file as subject to the "Classpath" exception as provided
44 public void warning (SAXParseException exception) throws SAXException { argument
45 core.warning(exception);
48 public void error (SAXParseException exception) throws SAXException { argument
49 core.fatalError(exception);
52 public void fatalError (SAXParseException exception) throws SAXException { argument
53 core.fatalError(exception);
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/
H A DMarshalException.java8 * particular file as subject to the "Classpath" exception as provided
29 * This exception indicates that an error has occurred while performing
33 * The <tt>ValidationEventHandler</tt> can cause this exception to be thrown
49 * @param message a description of the exception
59 * @param message a description of the exception
70 * @param exception the linked exception
72 public MarshalException( Throwable exception ) {
73 this( null, null, exception );
80 * @param message a description of the exception
[all...]
H A DPropertyException.java8 * particular file as subject to the "Classpath" exception as provided
31 * This exception indicates that an error was encountered while getting or
46 * @param message a description of the exception
56 * @param message a description of the exception
67 * @param exception the linked exception
69 public PropertyException(Throwable exception) { argument
70 super(exception);
77 * @param message a description of the exception
78 * @param exception th
80 PropertyException(String message, Throwable exception) argument
92 PropertyException( String message, String errorCode, Throwable exception) argument
[all...]
H A DUnmarshalException.java8 * particular file as subject to the "Classpath" exception as provided
29 * This exception indicates that an error has occurred while performing
34 * The <tt>ValidationEventHandler</tt> can cause this exception to be thrown
51 * @param message a description of the exception
61 * @param message a description of the exception
72 * @param exception the linked exception
74 public UnmarshalException( Throwable exception ) {
75 this( null, null, exception );
82 * @param message a description of the exception
[all...]
H A DValidationException.java8 * particular file as subject to the "Classpath" exception as provided
29 * This exception indicates that an error has occurred while performing
33 * The <tt>ValidationEventHandler</tt> can cause this exception to be thrown
49 * @param message a description of the exception
59 * @param message a description of the exception
70 * @param exception the linked exception
72 public ValidationException(Throwable exception) { argument
73 this( null, null, exception );
80 * @param message a description of the exception
83 ValidationException(String message, Throwable exception) argument
95 ValidationException(String message, String errorCode, Throwable exception) argument
[all...]
/openjdk7/jdk/test/java/beans/EventHandler/
H A DTest6277266.java54 } catch (SecurityException exception) {
55 return; // expected security exception in JDK 7
56 } catch (InvocationTargetException exception) {
57 if (exception.getCause() instanceof SecurityException){
58 return; // expected security exception in JDK 8
60 throw new Error("unexpected exception", exception);
61 } catch (InterruptedException exception) {
62 throw new Error("unexpected exception", exception);
[all...]
H A DTest6277246.java47 catch (ClassNotFoundException exception) {
48 throw new Error("unexpected exception", exception);
50 catch (NoSuchMethodException exception) {
51 throw new Error("unexpected exception", exception);
53 catch (SecurityException exception) {
54 // expected security exception
56 catch (RuntimeException exception) {
57 throw new Error("unexpected exception", exceptio
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DErrorHandlerWrapper.java90 * @param exception Exception.
96 XMLParseException exception) throws XNIException {
99 SAXParseException saxException = createSAXParseException(exception);
125 * @param exception Exception.
131 XMLParseException exception) throws XNIException {
134 SAXParseException saxException = createSAXParseException(exception);
155 * throw an <code>XNIException</code> from this method. This exception
156 * can either be the same exception that is passed as a parameter to
157 * the method or a new XNI exception object. If the registered error
158 * handler fails to throw an exception, th
95 warning(String domain, String key, XMLParseException exception) argument
130 error(String domain, String key, XMLParseException exception) argument
173 fatalError(String domain, String key, XMLParseException exception) argument
197 createSAXParseException(XMLParseException exception) argument
207 createXMLParseException(SAXParseException exception) argument
229 createXNIException(SAXException exception) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/util/
H A DErrorReceiverFilter.java8 * particular file as subject to the "Classpath" exception as provided
57 public void info(SAXParseException exception) { argument
58 if(core!=null) core.info(exception);
61 public void warning(SAXParseException exception) { argument
62 if(core!=null) core.warning(exception);
65 public void error(SAXParseException exception) { argument
67 if(core!=null) core.error(exception);
70 public void fatalError(SAXParseException exception) { argument
72 if(core!=null) core.fatalError(exception);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/
H A DErrorListener.java8 * particular file as subject to the "Classpath" exception as provided
47 void error(SAXParseException exception); argument
48 void fatalError(SAXParseException exception); argument
49 void warning(SAXParseException exception); argument
54 void info(SAXParseException exception); argument
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/utils/
H A DConfigurationError.java37 private Exception exception; field in class:ConfigurationError
45 * exception.
49 this.exception = x;
56 /** Returns the exception associated to this error. */
58 return exception;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/utils/
H A DConfigurationError.java34 private Exception exception; field in class:ConfigurationError
42 * exception.
46 this.exception = x;
53 /** Returns the exception associated to this error. */
55 return exception;
/openjdk7/jdk/test/java/lang/ClassLoader/
H A DExceptionHidingLoader.java27 raise an exception, the VM core dumps.
38 boolean exception = false;
44 exception. */
45 exception = true;
47 if (!exception) {
/openjdk7/jdk/test/java/beans/Beans/
H A DTest4067824.java27 * @summary Tests exception details in Beans.instantiate()
41 catch (ClassNotFoundException exception) {
43 if (exception.toString().indexOf("IllegalAccessException") < 0)
44 throw new Error("unexpected exception", exception);
54 catch (ClassNotFoundException exception) {
55 // expected exception
57 catch (StreamCorruptedException exception) {
58 // expected exception
H A DTest4080522.java48 // now each of the calls should raise an exception
52 } catch (SecurityException exception) {
53 // expected exception
58 } catch (SecurityException exception) {
59 // expected exception
64 } catch (SecurityException exception) {
65 // expected exception
70 } catch (SecurityException exception) {
71 // expected exception
85 } catch (SecurityException exception) {
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/
H A DXPathException.java30 * This class implements an exception object that all
65 /** A nested exception.
142 * the error originated from, and another exception
143 * that caused this exception.
146 * @param e The exception that caused this exception.
159 * an error message, and another exception
160 * that caused this exception.
162 * @param e The exception that caused this exception
[all...]
/openjdk7/jdk/test/java/beans/XMLDecoder/spec/
H A DAbstractTest.java30 public void exceptionThrown(Exception exception) { argument
31 throw new Error("unexpected exception", exception);
57 } catch (ArrayIndexOutOfBoundsException exception) {
58 // expected exception
70 } catch (NoSuchFieldException exception) {
71 throw new Error("unexpected exception", exception);
72 } catch (IllegalAccessException exception) {
73 throw new Error("unexpected exception", exceptio
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DDefaultErrorHandler.java49 * if this flag is set to true, we will rethrow the exception on
100 * @param exception The warning information encapsulated in a
101 * SAX parse exception.
102 * @throws SAXException Any SAX exception, possibly
103 * wrapping another exception.
105 public void warning(SAXParseException exception) throws SAXException argument
107 printLocation(m_pw, exception);
108 m_pw.println("Parser warning: " + exception.getMessage());
127 * @param exception The error information encapsulated in a
128 * SAX parse exception
132 error(SAXParseException exception) argument
159 fatalError(SAXParseException exception) argument
184 warning(TransformerException exception) argument
213 error(TransformerException exception) argument
246 fatalError(TransformerException exception) argument
259 ensureLocationSet(TransformerException exception) argument
291 printLocation(PrintStream pw, TransformerException exception) argument
296 printLocation(java.io.PrintStream pw, org.xml.sax.SAXParseException exception) argument
301 printLocation(PrintWriter pw, Throwable exception) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DJCatchBlock.java8 * particular file as subject to the "Classpath" exception as provided
35 JClass exception; field in class:JCatchBlock
39 JCatchBlock(JClass exception) { argument
40 this.exception = exception;
45 var = new JVar(JMods.forVar(JMod.NONE), exception, name, null);
56 exception, "_x", null);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xni/parser/
H A DXMLErrorHandler.java52 * @param exception Exception.
58 XMLParseException exception) throws XNIException;
71 * @param exception Exception.
77 XMLParseException exception) throws XNIException;
85 * throw an <code>XNIException</code> from this method. This exception
86 * can either be the same exception that is passed as a parameter to
87 * the method or a new XNI exception object. If the registered error
88 * handler fails to throw an exception, the continuing operation of
98 * @param exception Exception.
104 XMLParseException exception) throw
57 warning(String domain, String key, XMLParseException exception) argument
76 error(String domain, String key, XMLParseException exception) argument
103 fatalError(String domain, String key, XMLParseException exception) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/naming/event/
H A DNamingExceptionEvent.java8 * particular file as subject to the "Classpath" exception as provided
47 * Contains the exception that was thrown
50 private NamingException exception; field in class:NamingExceptionEvent
54 * the context in which the <tt>NamingException</tt> was thrown and the exception
57 * @param source The non-null context in which the exception was thrown.
63 exception = exc;
67 * Retrieves the exception that was thrown.
68 * @return The exception that was thrown.
71 return exception;
/openjdk7/jdk/test/java/beans/beancontext/
H A DTest4132698.java41 catch (NullPointerException exception) {
42 return; // expected null pointer exception
44 catch (Exception exception) {
45 throw new Error("Should have caught NullPointerException but caught something else.", exception);
47 // If test got this far then expected exception wasn't thrown.
/openjdk7/jdk/src/share/classes/com/sun/jdi/event/
H A DExceptionEvent.java8 * particular file as subject to the "Classpath" exception as provided
31 * Notification of an exception in the target VM. When an exception
33 * {@link com.sun.jdi.request.ExceptionRequest exception request},
37 * If the exception is thrown from a non-native method,
38 * the exception event is generated at the location where the
39 * exception is thrown.
40 * If the exception is thrown from a native method, the exception event
41 * is generated at the first non-native location reached after the exception
57 public ObjectReference exception(); method in interface:ExceptionEvent
[all...]
/openjdk7/jdk/test/java/beans/VetoableChangeSupport/
H A DTest4076065.java37 } catch (NullPointerException exception) {

Completed in 122 milliseconds

1234567891011>>