Searched defs:reason (Results 51 - 75 of 121) sorted by relevance

12345

/openjdk7/jdk/src/share/classes/javax/print/event/
H A DPrintJobEvent.java42 private int reason; field in class:PrintJobEvent
92 * @param reason an int specifying the reason.
97 public PrintJobEvent( DocPrintJob source, int reason) { argument
100 this.reason = reason;
104 * Gets the reason for this event.
105 * @return reason int.
108 return reason;
/openjdk7/jdk/src/share/classes/javax/sql/rowset/
H A DRowSetWarning.java63 * with the given value for the reason; SQLState defaults to null,
66 * @param reason a <code>String</code> object giving a description
71 public RowSetWarning(String reason) { argument
72 super(reason);
76 * Constructs a default <code>RowSetWarning</code> object. The reason
86 * given values for the reason and SQLState. The vendor code defaults to 0.
88 * If the <code>reason</code> or <code>SQLState</code> parameters are <code>null</code>,
92 * @param reason a <code>String</code> giving a description of the
97 public RowSetWarning(java.lang.String reason, java.lang.String SQLState) { argument
98 super(reason, SQLStat
115 RowSetWarning(java.lang.String reason, java.lang.String SQLState, int vendorCode) argument
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DURISyntaxException.java47 * Constructs an instance from the given input string, reason, and error
51 * @param reason A string explaining why the input could not be parsed
56 * If either the input or reason strings are <tt>null</tt>
61 public URISyntaxException(String input, String reason, int index) { argument
62 super(reason);
63 if ((input == null) || (reason == null))
72 * Constructs an instance from the given input string and reason. The
76 * @param reason A string explaining why the input could not be parsed
79 * If either the input or reason strings are <tt>null</tt>
81 public URISyntaxException(String input, String reason) { argument
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFileSystemException.java48 * information to explain the reason.
62 * information to explain the reason.
69 * @param reason
70 * a reason message with additional information or {@code null}
72 public FileSystemException(String file, String other, String reason) { argument
73 super(reason);
H A DInvalidPathException.java43 * Constructs an instance from the given input string, reason, and error
47 * @param reason a string explaining why the input was rejected
52 * if either the input or reason strings are <tt>null</tt>
57 public InvalidPathException(String input, String reason, int index) { argument
58 super(reason);
59 if ((input == null) || (reason == null))
68 * Constructs an instance from the given input string and reason. The
72 * @param reason a string explaining why the input was rejected
75 * if either the input or reason strings are <tt>null</tt>
77 public InvalidPathException(String input, String reason) { argument
[all...]
/openjdk7/jdk/src/share/classes/java/sql/
H A DSQLWarning.java49 * with a given <code>reason</code>, <code>SQLState</code> and
56 * @param reason a description of the warning
60 public SQLWarning(String reason, String SQLState, int vendorCode) { argument
61 super(reason, SQLState, vendorCode);
62 DriverManager.println("SQLWarning: reason(" + reason +
70 * with a given <code>reason</code> and <code>SQLState</code>.
77 * @param reason a description of the warning
80 public SQLWarning(String reason, String SQLState) { argument
81 super(reason, SQLStat
98 SQLWarning(String reason) 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 DSQLException.java58 * <code>reason</code>, <code>SQLState</code> and
65 * @param reason a description of the exception
69 public SQLException(String reason, String SQLState, int vendorCode) { argument
70 super(reason);
85 * <code>reason</code> and <code>SQLState</code>.
92 * @param reason a description of the exception
95 public SQLException(String reason, String SQLState) { argument
96 super(reason);
109 * <code>reason</code>. The <code>SQLState</code> is initialized to
116 * @param reason
118 SQLException(String reason) argument
186 SQLException(String reason, Throwable cause) argument
209 SQLException(String reason, String sqlState, Throwable cause) argument
235 SQLException(String reason, String sqlState, int vendorCode, Throwable cause) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/
H A DSpecErrorEvent.java40 private Exception reason; field in class:SpecErrorEvent
43 Exception reason) {
45 this.reason = reason;
49 return reason;
42 SpecErrorEvent(EventRequestSpec eventRequestSpec, Exception reason) argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/
H A DSOAPExceptionImpl.java36 * that gives the reason for the exception, an embedded
38 * for retrieving reason messages and for retrieving the embedded
53 * reason or embedded <code>Throwable</code> object.
62 * <code>String</code> as the reason for the exception being thrown.
64 * @param reason a description of what caused the exception
66 public SOAPExceptionImpl(String reason) { argument
67 super(reason);
73 * <code>String</code> as the reason for the exception being thrown
77 * @param reason a description of what caused the exception
81 public SOAPExceptionImpl(String reason, Throwabl argument
[all...]
/openjdk7/jdk/test/com/sun/jdi/
H A DEnumTest.java75 void fail(String reason) throws Exception { argument
76 failure(reason);
/openjdk7/jdk/test/java/nio/file/etc/
H A DExceptions.java44 String reason = "Access denied";
47 testFileSystemException(thisFile, otherFile, reason);
48 testFileSystemException(null, otherFile, reason);
49 testFileSystemException(thisFile, null, reason);
54 exc = new FileSystemException(thisFile, otherFile, reason);
62 String reason)
64 FileSystemException exc = new FileSystemException(thisFile, otherFile, reason);
69 if (!Objects.equals(reason, exc.getReason()))
60 testFileSystemException(String thisFile, String otherFile, String reason) argument
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DSSLServerSocketFactory.java152 private final Exception reason; field in class:DefaultSSLServerSocketFactory
154 DefaultSSLServerSocketFactory(Exception reason) { argument
155 this.reason = reason;
160 new SocketException(reason.toString()).initCause(reason);
H A DSSLSocketFactory.java191 private Exception reason; field in class:DefaultSSLSocketFactory
193 DefaultSSLSocketFactory(Exception reason) { argument
194 this.reason = reason;
199 new SocketException(reason.toString()).initCause(reason);
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DCertificateRevokedException.java45 * certificate was revoked and the reason it was revoked.
60 * @serial the revocation reason
62 private final CRLReason reason; field in class:CertificateRevokedException
73 * the specified revocation date, reason code, authority name, and map
78 * @param reason the revocation reason
86 * <code>reason</code>, <code>authority</code>, or
89 public CertificateRevokedException(Date revocationDate, CRLReason reason, argument
91 if (revocationDate == null || reason == null || authority == null ||
96 this.reason
[all...]
H A DCertPathValidatorException.java44 * exception to be thrown, and the reason that caused the failure. Use the
79 * @serial the reason the validation failed
81 private Reason reason = BasicReason.UNSPECIFIED; field in class:CertPathValidatorException
156 * detail message, cause, certification path, index, and reason.
165 * @param reason the reason the validation failed
171 * @throws NullPointerException if <code>reason</code> is <code>null</code>
176 CertPath certPath, int index, Reason reason) {
185 if (reason == null) {
186 throw new NullPointerException("reason ca
175 CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index, Reason reason) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/
H A DSOAPIOException.java55 public SOAPIOException(String reason, Throwable cause) { argument
57 soapException = new SOAPExceptionImpl(reason, cause);
/openjdk7/jdk/src/share/classes/javax/print/attribute/standard/
H A DPrinterStateReasons.java152 * Adds the given printer state reason to this printer state reasons
155 * given printer state reason, the old value is replaced.
157 * @param reason Printer state reason. This must be an instance of
159 * @param severity Severity of the printer state reason. This must be
163 * reason, or <tt>null</tt> if the given printer state reason was
167 * (unchecked exception) Thrown if <CODE>reason</CODE> is null or
170 * (unchecked exception) Thrown if <CODE>reason</CODE> is not an
176 public Severity put(PrinterStateReason reason, Severit argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/IPAcl/
H A DTokenMgrError.java58 * Indicates the reason why the exception is thrown. It will have
152 public TokenMgrError(String message, int reason) { argument
154 errorCode = reason;
157 public TokenMgrError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, char curChar, int reason) { argument
158 this(LexicalError(EOFSeen, lexState, errorLine, errorColumn, errorAfter, curChar), reason);
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/expr/
H A DTokenMgrError.java67 * Indicates the reason why the exception is thrown. It will have
162 public TokenMgrError(String message, int reason) { argument
164 errorCode = reason;
167 public TokenMgrError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, char curChar, int reason) { argument
168 this(LexicalError(EOFSeen, lexState, errorLine, errorColumn, errorAfter, curChar), reason);
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/utils/
H A DNTypeMerger.java64 public MergeFailed(String reason, Object a, Object b){ argument
65 super(reason
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/compact/
H A DTokenMgrError.java86 * Indicates the reason why the exception is thrown. It will have
181 /** Constructor with message and reason. */
182 public TokenMgrError(String message, int reason) { argument
184 errorCode = reason;
188 public TokenMgrError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, char curChar, int reason) { argument
189 this(LexicalError(EOFSeen, lexState, errorLine, errorColumn, errorAfter, curChar), reason);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/
H A DSOAP11Fault.java96 * @param reason
100 SOAP11Fault(QName code, String reason, String actor, Element detailObject) { argument
102 this.faultstring = reason;
H A DSOAP12Fault.java80 "reason",
93 private ReasonType reason; field in class:SOAP12Fault
107 SOAP12Fault(CodeType code, ReasonType reason, String node, String role, DetailType detail) { argument
109 this.reason = reason;
115 SOAP12Fault(CodeType code, ReasonType reason, String node, String role, Element detailObject) { argument
117 this.reason = reason;
140 reason = new ReasonType(fault.getFaultString());
153 SOAP12Fault(QName code, String reason, Elemen argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/scd/
H A DTokenMgrError.java56 * Indicates the reason why the exception is thrown. It will have
150 public TokenMgrError(String message, int reason) { argument
152 errorCode = reason;
155 public TokenMgrError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, char curChar, int reason) { argument
156 this(LexicalError(EOFSeen, lexState, errorLine, errorColumn, errorAfter, curChar), reason);
/openjdk7/langtools/src/share/classes/javax/tools/
H A DToolProvider.java60 static <T> T trace(Level level, Object reason) { argument
76 if (reason instanceof Throwable) {
78 reason.getClass().getName(), (Throwable)reason);
80 logger.logp(level, cls, method, String.valueOf(reason));
86 reason,

Completed in 65 milliseconds

12345