Search Results
OK to copy?
Examples 71 through 80 of
179 (0.0020 seconds)
Class:
org.springframework.util.ObjectUtilsTests
©,
Rating:
0% of 0,
C2
Class: org.springframework.util.ObjectUtilsTests ©, Rating: 0% of 0, C2
Class: org.springframework.util.ObjectUtilsTests ©, Rating: 0% of 0, C2
Class: org.springframework.util.ObjectUtilsTests ©, Rating: 0% of 0, C1
Class: javax.xml.rpc.ServiceException ©, Rating: 0% of 0, C1
Class: javax.xml.rpc.ServiceException ©, Rating: 0% of 0, C1
Class: javax.xml.rpc.ServiceException ©, Rating: 0% of 0, C1
Class: javax.xml.rpc.ServiceException ©, Rating: 0% of 0, C1
Class: org.apache.batik.script.InterpreterException ©, Rating: 0% of 0, C1
Class: org.apache.axis.components.net.SunFakeTrustSocketFactory ©, Rating: 0% of 0, C1
53 assertFalse(ObjectUtils.isCompatibleWithThrowsClause(new Exception(), null));
54 assertFalse(ObjectUtils.isCompatibleWithThrowsClause(new Exception(), empty));
55 assertTrue(ObjectUtils.isCompatibleWithThrowsClause(new Exception(), exception));
56 assertFalse(ObjectUtils.isCompatibleWithThrowsClause(new Exception(), servletAndIO));
57 assertTrue(ObjectUtils.isCompatibleWithThrowsClause(new Exception(), throwable));
Class: org.springframework.util.ObjectUtilsTests ©, Rating: 0% of 0, C2
52
53 assertFalse(ObjectUtils.isCompatibleWithThrowsClause(new Exception(), null));
54 assertFalse(ObjectUtils.isCompatibleWithThrowsClause(new Exception(), empty));
55 assertTrue(ObjectUtils.isCompatibleWithThrowsClause(new Exception(), exception));
56 assertFalse(ObjectUtils.isCompatibleWithThrowsClause(new Exception(), servletAndIO));
Class: org.springframework.util.ObjectUtilsTests ©, Rating: 0% of 0, C2
51 assertTrue(ObjectUtils.isCompatibleWithThrowsClause(new RuntimeException(), throwable));
52
53 assertFalse(ObjectUtils.isCompatibleWithThrowsClause(new Exception(), null));
54 assertFalse(ObjectUtils.isCompatibleWithThrowsClause(new Exception(), empty));
55 assertTrue(ObjectUtils.isCompatibleWithThrowsClause(new Exception(), exception));
Class: org.springframework.util.ObjectUtilsTests ©, Rating: 0% of 0, C1
31
32 public void testIsCheckedException() {
33 assertTrue(ObjectUtils.isCheckedException(new Exception()));
34 assertTrue(ObjectUtils.isCheckedException(new ServletException()));
35 assertFalse(ObjectUtils.isCheckedException(new RuntimeException()));
Class: javax.xml.rpc.ServiceException ©, Rating: 0% of 0, C1
Class: javax.xml.rpc.ServiceException ©, Rating: 0% of 0, C1
097 public ServiceException(String message, Throwable cause) {
098
099 super(message);
100
101 this.cause = cause;
Class: javax.xml.rpc.ServiceException ©, Rating: 0% of 0, C1
Class: javax.xml.rpc.ServiceException ©, Rating: 0% of 0, C1
072 * detail message. The cause is not initialized.
073 */
074 public ServiceException() {}
075
076 /**
Class: org.apache.batik.script.InterpreterException ©, Rating: 0% of 0, C1
069 */
070 public InterpreterException(String message, int lineno, int columnno) {
071 super(message);
072 line = lineno;
073 column = columnno;
Class: org.apache.axis.components.net.SunFakeTrustSocketFactory ©, Rating: 0% of 0, C1
103 } catch (Exception exc) {
104 log.error(Messages.getMessage("ftsf01"), exc);
105 throw new Exception(Messages.getMessage("ftsf02"));
106 }
107 }