All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.realityforge.bazel.depgen.TerminalStateException Maven / Gradle / Ivy

Go to download

bazel-depgen: Generate Bazel dependency scripts by traversing Maven repositories

There is a newer version: 0.19
Show newest version
package org.realityforge.bazel.depgen;

import javax.annotation.Nullable;

class TerminalStateException
  extends RuntimeException
{
  private final int _exitCode;

  TerminalStateException( final int exitCode )
  {
    this( null, exitCode );
  }

  TerminalStateException( @Nullable final String message, final int exitCode )
  {
    this( message, null, exitCode );
  }

  TerminalStateException( @Nullable final String message, @Nullable final Throwable cause, final int exitCode )
  {
    super( message, cause );
    _exitCode = exitCode;
  }

  int getExitCode()
  {
    return _exitCode;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy