- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 304 for setMessage (0.31 sec)
-
src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java
final NullArgumentException nullArgumentException = new NullArgumentException("hoge"); assertThat(nullArgumentException.getArgName(), is("hoge")); assertThat(nullArgumentException.getMessage(), is("[ECL0008]argument[hoge] is null.")); } /** * @throws Exception */ @Test public void testErrorMessage_en() throws Exception { // ## Arrange ##
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/PlaceholderException.java
public String getExceptionClassName() { return exceptionClassName; } @Override public String getMessage() { if (getMessageException != null) { throw UncheckedException.throwAsUncheckedException(getMessageException); } return super.getMessage(); } @Override public String toString() { if (toStringRuntimeEx != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 06 10:31:03 UTC 2024 - 10.7K bytes - Viewed (0) -
maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java
@Override public Exception getException() { return exception; } @Override public String getMessage() { String msg; if (message != null && !message.isEmpty()) { msg = message; } else { msg = exception.getMessage(); if (msg == null) { msg = ""; } } return msg;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 07:40:37 UTC 2024 - 4.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java
import org.apache.maven.plugin.descriptor.io.PluginDescriptorStaxWriter; import static org.apache.maven.internal.impl.StaxLocation.getLocation; import static org.apache.maven.internal.impl.StaxLocation.getMessage; import static org.apache.maven.internal.impl.Utils.nonNull; @Named @Singleton public class DefaultPluginXmlFactory implements PluginXmlFactory { @Override
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SUnsupportedOperationExceptionTest.java
public void testSUnsupportedOperationExceptionString() { final ClUnsupportedOperationException clUnsupportedOperationException = new ClUnsupportedOperationException("hoge"); assertThat(clUnsupportedOperationException.getMessage(), is("hoge")); } /** * Test method for * {@link org.codelibs.core.exception.ClUnsupportedOperationException#SUnsupportedOperationException(java.lang.String, java.lang.Throwable)} * . */
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/StaxLocation.java
} public static Location toLocation(javax.xml.stream.Location location) { return location != null ? new StaxLocation(location) : null; } public static String getMessage(Exception e) { String message = e.getMessage(); if (e instanceof XMLStreamException xe && xe.getLocation() != null) { int idx = message.indexOf("\nMessage: "); if (idx >= 0) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java
* . */ @Test public void testSIllegalStateExceptionString() { final ClIllegalStateException clIllegalStateException = new ClIllegalStateException("hoge"); assertThat(clIllegalStateException.getMessage(), is("hoge")); } /** * Test method for * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException(java.lang.String, java.lang.Throwable)} * . */ @Test
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java
sqlException2.setNextException(sqlException3); final SQLRuntimeException sqlRuntimeException = new SQLRuntimeException(sqlException); // ## Act ## final String message = sqlRuntimeException.getMessage(); // ## Assert ## System.out.println(message); assertContains(message, "ErrorCode=7650"); assertContains(message, "SQLState=fooState"); assertContains(message, "some reason");
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/ConnectionExceptionTransformer.java
+ "\n" + failure.getMessage(), failure); } else if (failure instanceof UnsupportedOperationConfigurationException) { return new UnsupportedOperationConfigurationException(connectionFailureMessage(failure) + "\n" + failure.getMessage(), failure.getCause()); } else if (failure instanceof GradleConnectionException) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 3.4K bytes - Viewed (0)