
gir.sys.SystemProperty Maven / Gradle / Ivy
The newest version!
package gir.sys;
import gir.GirException;
import javax.annotation.Nonnull;
public final class SystemProperty
{
private SystemProperty()
{
}
@Nonnull
public static String get( @Nonnull final String key )
{
final String workDirValue = System.getProperty( key );
if ( null == workDirValue )
{
throw new GirException( "Failed to locate required system property '" + key + "'" );
}
return workDirValue;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy