- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getRootCause (0.12 sec)
-
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
SomeCheckedException exception = new SomeCheckedException(); assertSame(exception, getRootCause(exception)); } public void testGetRootCause_singleWrapped() { SomeCheckedException cause = new SomeCheckedException(); SomeChainingException exception = new SomeChainingException(cause); assertSame(cause, getRootCause(exception)); } public void testGetRootCause_doubleWrapped() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 14.6K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/TransportException.java
public TransportException ( String msg, Throwable rootCause ) { super(msg, rootCause); } /** * * @return root cause */ @Deprecated public Throwable getRootCause () { return getCause(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
SomeCheckedException exception = new SomeCheckedException(); assertSame(exception, getRootCause(exception)); } public void testGetRootCause_singleWrapped() { SomeCheckedException cause = new SomeCheckedException(); SomeChainingException exception = new SomeChainingException(cause); assertSame(cause, getRootCause(exception)); } public void testGetRootCause_doubleWrapped() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 14.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcException.java
return this.error; } /** * * @return the root cause * @deprecated use {@link #getCause()} */ @Deprecated public Throwable getRootCause () { return getCause(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun May 17 09:02:44 UTC 2020 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/TransportException.java
this.rootCause = rootCause; } public TransportException( String msg, Throwable rootCause ) { super( msg ); this.rootCause = rootCause; } public Throwable getRootCause() { return rootCause; } public String toString() { if( rootCause != null ) { StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter( sw );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 958 bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcException.java
} public DcerpcException(String msg, Throwable rootCause) { super(msg); this.rootCause = rootCause; } public int getErrorCode() { return error; } public Throwable getRootCause() { return rootCause; } public String toString() { if (rootCause != null) { StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbException.java
status = winerr ? errcode : getStatusByCode( errcode ); } public int getNtStatus() { return status; } public Throwable getRootCause() { return rootCause; } public String toString() { if( rootCause != null ) { StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter( sw );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
} protected IOException seToIoe(SmbException se) { IOException ioe = se; Throwable root = se.getRootCause(); if (root instanceof TransportException) { ioe = (TransportException)root; root = ((TransportException)ioe).getRootCause(); } if (root instanceof InterruptedException) { ioe = new InterruptedIOException(root.getMessage());
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbException.java
*/ public int getNtStatus () { return this.status; } /** * * @return cause */ @Deprecated public Throwable getRootCause () { return this.getCause(); } /** * @param e * @return a CIFS exception wrapped in an SmbException */ static SmbException wrap ( CIFSException e ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 07:16:55 UTC 2018 - 5.9K bytes - Viewed (0) -
guava/src/com/google/common/base/Throwables.java
* * <pre> * assertEquals("Unable to assign a customer id", Throwables.getRootCause(e).getMessage()); * </pre> * * @throws IllegalArgumentException if there is a loop in the causal chain */ public static Throwable getRootCause(Throwable throwable) { // Keep a second pointer that slowly walks the causal chain. If the fast pointer ever catches
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 20.7K bytes - Viewed (0)