jetbrains.buildServer.serverSide
Class InvalidIdentifierException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by jetbrains.buildServer.serverSide.InvalidIdentifierException
All Implemented Interfaces:
java.io.Serializable

public class InvalidIdentifierException
extends java.lang.IllegalArgumentException

Thrown when the given string identifier doesn't meet some rules.

Since:
8.0
See Also:
Serialized Form

Constructor Summary
InvalidIdentifierException(java.lang.String message, java.lang.String invalidIdentifier)
          Constructor
 
Method Summary
 java.lang.String getInvalidIdentifier()
          Returns the identifier that is invalid.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidIdentifierException

public InvalidIdentifierException(@NotNull
                                  java.lang.String message,
                                  @Nullable
                                  java.lang.String invalidIdentifier)
Constructor

Parameters:
message - error message.
invalidIdentifier - the identifier that is invalid.
Method Detail

getInvalidIdentifier

@Nullable
public java.lang.String getInvalidIdentifier()
Returns the identifier that is invalid.

Returns:
the invalid identifier.