Searched refs:cause (Results 101 - 125 of 298) sorted by relevance

1234567891011>>

/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DPropagatedException.java42 public PropagatedException(RuntimeException cause) { argument
43 super(cause);
/openjdk7/langtools/src/share/classes/com/sun/tools/javah/
H A DInternalError.java36 InternalError(String msg, Throwable cause) { argument
38 initCause(cause);
/openjdk7/langtools/test/com/sun/javadoc/testUnnamedPackage/
H A DBadSource.java24 Just a dummy file that should not cause an error.
/openjdk7/jdk/src/share/classes/java/util/
H A DInvalidPropertiesFormatException.java49 * cause.
51 * @param cause the cause (which is saved for later retrieval by the
54 public InvalidPropertiesFormatException(Throwable cause) { argument
55 super(cause==null ? null : cause.toString());
56 this.initCause(cause);
/openjdk7/jdk/test/java/util/ResourceBundle/
H A DBug6355009.java39 Throwable cause = e;
41 while ((cause = cause.getCause()) != null) {
42 if (cause instanceof MissingResourceException) {
/openjdk7/jdk/src/share/classes/javax/management/remote/
H A DJMXServerErrorException.java39 * <code>Error</code> that occurred as its cause.
59 cause = err;
63 return cause;
70 private final Error cause; field in class:JMXServerErrorException
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DDefaultErrorHandler.java263 Throwable cause = exception;
265 // Try to find the locator closest to the cause.
268 if(cause instanceof SAXParseException)
270 locator = new SAXSourceLocator((SAXParseException)cause);
272 else if (cause instanceof TransformerException)
274 SourceLocator causeLocator = ((TransformerException)cause).getLocator();
279 if(cause instanceof TransformerException)
280 cause = ((TransformerException)cause).getCause();
281 else if(cause instanceo
[all...]
/openjdk7/jaxp/src/javax/xml/xpath/
H A DXPathException.java39 private final Throwable cause; field in class:XPathException
50 * <p>The <code>cause</code> is not initialized.</p>
65 this.cause = null;
70 * with the specified <code>cause</code>.</p>
72 * <p>If <code>cause</code> is <code>null</code>,
75 * @param cause The cause.
77 * @throws NullPointerException if <code>cause</code> is <code>null</code>.
79 public XPathException(Throwable cause) { argument
81 this.cause
[all...]
/openjdk7/jdk/src/share/classes/java/sql/
H A DBatchUpdateException.java61 * The <code>cause</code> is not initialized, and may subsequently be
90 * The <code>cause</code> is not initialized, and may subsequently be
116 * The <code>cause</code> is not initialized, and may subsequently be
166 * The <code>cause</code> is not initialized, and may subsequently be
179 * a given <code>cause</code>.
184 * <code>cause==null</code> or to <code>cause.toString()</code> if
185 * <code>cause!=null</code>.
186 * @param cause the underlying reason for this <code>SQLException</code>
188 * may be null indicating the cause i
191 BatchUpdateException(Throwable cause) argument
217 BatchUpdateException(int []updateCounts , Throwable cause) argument
241 BatchUpdateException(String reason, int []updateCounts, Throwable cause) argument
265 BatchUpdateException(String reason, String SQLState, int []updateCounts, Throwable cause) argument
292 BatchUpdateException(String reason, String SQLState, int vendorCode, int []updateCounts,Throwable cause) argument
[all...]
H A DSQLWarning.java35 * connection after it has been closed will cause an exception to be thrown.
37 * closed or on a result set after it has been closed will cause
52 * The <code>cause</code> is not initialized, and may subsequently be
72 * The <code>cause</code> is not initialized, and may subsequently be
92 * The <code>cause</code> is not initialized, and may subsequently be
108 * The <code>cause</code> is not initialized, and may subsequently be
120 * with a given <code>cause</code>.
124 * <code>cause==null</code> or to <code>cause.toString()</code> if
125 * <code>cause!
130 SQLWarning(Throwable cause) argument
147 SQLWarning(String reason, Throwable cause) argument
163 SQLWarning(String reason, String SQLState, Throwable cause) argument
181 SQLWarning(String reason, String SQLState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLClientInfoException.java60 * The <code>cause</code> is not initialized, and may subsequently be
78 * The <code>cause</code> is not initialized, and may subsequently be
99 * a given <code>cause</code> and <code>failedProperties</code>.
102 * <code>cause==null</code> or to <code>cause.toString()</code> if
103 * <code>cause!=null</code> and the vendor code is initialized to 0.
113 * @param cause the (which is saved for later retrieval by the <code>getCause()</code> method); may be null indicating
114 * the cause is non-existent or unknown.
119 Throwable cause) {
121 super(cause !
118 SQLClientInfoException(Map<String, ClientInfoStatus> failedProperties, Throwable cause) argument
174 SQLClientInfoException(String reason, Map<String, ClientInfoStatus> failedProperties, Throwable cause) argument
231 SQLClientInfoException(String reason, String SQLState, Map<String, ClientInfoStatus> failedProperties, Throwable cause) argument
292 SQLClientInfoException(String reason, String SQLState, int vendorCode, Map<String, ClientInfoStatus> failedProperties, Throwable cause) argument
[all...]
/openjdk7/hotspot/src/share/vm/gc_interface/
H A DgcCause.hpp76 inline static bool is_user_requested_gc(GCCause::Cause cause) { argument
77 return (cause == GCCause::_java_lang_system_gc ||
78 cause == GCCause::_jvmti_force_gc);
82 cause) {
83 return (cause == GCCause::_jvmti_force_gc ||
84 cause == GCCause::_heap_inspection ||
85 cause == GCCause::_heap_dump);
89 static const char* to_string(GCCause::Cause cause);
101 GCCauseString(const char* prefix, GCCause::Cause cause) { argument
103 _position = jio_snprintf(_buffer, _length, "%s (%s)", prefix, GCCause::to_string(cause));
81 is_serviceability_requested_gc(GCCause::Cause cause) argument
[all...]
H A DgcCause.cpp28 const char* GCCause::to_string(GCCause::Cause cause) { argument
29 switch (cause) {
97 return "ILLEGAL VALUE - last gc cause - ILLEGAL VALUE";
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/
H A DNoSuchSymbolException.java35 public NoSuchSymbolException(String symbol, Throwable cause) { argument
36 super(cause);
45 public NoSuchSymbolException(String symbol, String detail, Throwable cause) { argument
46 super(detail, cause);
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DDirectoryIteratorException.java51 * @param cause
56 * if the cause is {@code null}
58 public DirectoryIteratorException(IOException cause) { argument
59 super(Objects.requireNonNull(cause));
63 * Returns the cause of this exception.
65 * @return the cause
76 * if the object is invalid or has a cause that is not
83 Throwable cause = super.getCause();
84 if (!(cause instanceof IOException))
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/spi/
H A DAssertionCreationException.java41 * Constructs a new assertion creation exception with the specified detail message and cause.
43 * Note that the detail message associated with {@code cause} is <emph>not</emph> automatically incorporated in
55 * Constructs a new assertion creation exception with the specified detail message and cause.
57 * Note that the detail message associated with {@code cause} is <emph>not</emph> automatically incorporated in
62 * @param cause the cause. (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.)
64 public AssertionCreationException(final AssertionData assertionData, final String message, final Throwable cause) { argument
65 super(message, cause);
70 * Constructs a new assertion creation exception with the specified detail message and cause
75 AssertionCreationException(AssertionData assertionData, Throwable cause) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/jgss/
H A DGSSExceptionImpl.java60 * A constructor that takes the majorCode and the exception cause.
62 public GSSExceptionImpl(int majorCode, Exception cause) { argument
64 initCause(cause);
69 * corresponds to it, and the exception cause.
72 Exception cause) {
74 initCause(cause);
71 GSSExceptionImpl(int majorCode, String majorMessage, Exception cause) argument
/openjdk7/jdk/test/java/security/cert/CertPathValidatorException/
H A DGetMessage.java27 * @summary check that getMessage(cause) returns cause.toString if cause != null
41 for (Throwable cause: causes) {
43 new CertPathValidatorException(cause);
45 // from CertPathValidatorException(Throwable cause) spec:
46 // The detail message is set to (cause==null ? null : cause.toString() )
47 // (which typically contains the class and detail message of cause).
48 String expMsg = (cause
[all...]
/openjdk7/jdk/test/java/util/Locale/
H A Dbug6312358.java51 Throwable cause = exc.getCause();
52 if (!(cause instanceof NullPointerException)) {
53 throw new RuntimeException(cause+" is thrown with language set to null");
62 Throwable cause = exc.getCause();
63 if (!(cause instanceof NullPointerException)) {
64 throw new RuntimeException(cause+" is thrown with country set to null");
73 Throwable cause = exc.getCause();
74 if (!(cause instanceof NullPointerException)) {
75 throw new RuntimeException(cause+" is thrown with variant set to null");
/openjdk7/jdk/test/java/lang/reflect/Generics/
H A DexceptionCauseTest.java35 Throwable cause = new Throwable("because");
36 Throwable par = new Throwable(cause);
43 throw new RuntimeException("Unexpected value of cause.");
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DCertPathValidatorException.java107 * detail message is set to (<code>cause==null ? null : cause.toString()
109 * cause).
111 * @param cause the cause (which is saved for later retrieval by the
113 * permitted, and indicates that the cause is nonexistent or unknown.)
115 public CertPathValidatorException(Throwable cause) { argument
116 this((cause == null ? null : cause.toString()), cause);
128 CertPathValidatorException(String msg, Throwable cause) argument
149 CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index) argument
175 CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index, Reason reason) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/exception/
H A DLocatableWebServiceException.java59 public LocatableWebServiceException(String message, Throwable cause, Locator... location) { argument
60 super(appendLocationInfo(message,location), cause);
64 public LocatableWebServiceException(Throwable cause, Locator... location) { argument
65 this(cause.toString(),cause,location);
72 public LocatableWebServiceException(String message, Throwable cause, XMLStreamReader locationSource) { argument
73 this(message,cause,toLocation(locationSource));
76 public LocatableWebServiceException(Throwable cause, XMLStreamReader locationSource) { argument
77 this(cause,toLocation(locationSource));
/openjdk7/jdk/src/share/classes/javax/security/sasl/
H A DSaslException.java41 * The possibly null root cause exception.
101 public Throwable initCause(Throwable cause) { argument
102 super.initCause(cause);
103 _exception = cause;
/openjdk7/jdk/test/java/io/Serializable/classDescHooks/
H A DCNFException.java28 * InvalidClassException with the ClassNotFoundException as its cause.
58 Throwable cause = e.getCause();
59 if (!(cause instanceof ClassNotFoundException)) {
61 "expected ClassNotFoundException as cause, not " + cause);
/openjdk7/jdk/test/javax/script/
H A DCauseExceptionTest.java27 * @summary RhinoScriptEngine bug : ScriptException cause not set (with fix)
46 Throwable cause = se.getCause();
47 if (cause == null) {
48 throw new RuntimeException("null cause");
50 System.out.println(cause);

Completed in 318 milliseconds

1234567891011>>