- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 591 for setMessage (0.21 sec)
-
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) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/AbstractGccCompatibleToolChainTest.groovy
given: platform.displayName >> '<unknown>' expect: def platformToolChain = toolChain.select(language, platform) !platformToolChain.available getMessage(platformToolChain) == "Don't know how to build for <unknown>." where: language << [NativeLanguage.ANY, NativeLanguage.CPP] } def "is unavailable when language is not known"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 17.2K bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/javaapplication/multi/app/junit5/MessageUtilsTest.java.template
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class MessageUtilsTest { @Test void testGetMessage() { assertEquals("Hello World!", MessageUtils.getMessage()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 295 bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalaapplication/multi/app/junit5/MessageUtilsTest.scala.template
import org.junit.jupiter.api.Test import org.junit.jupiter.api.Assertions.assertEquals class MessageUtilsTest { @Test def testGetMessage(): Unit = { assertEquals("Hello World!", MessageUtils.getMessage()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 288 bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppToolChainTest.groovy
windowsSdkLookup.available >> false ucrtLookup.available >> false and: def result = toolChain.select(Stub(NativePlatformInternal)) then: !result.available getMessage(result) == "vs install not found anywhere" } def "is not available when windows SDK cannot be located"() { when: visualStudioLookup.available >> true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 9.5K 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)