what is the error here.Can someone help?
package com.codegym.task.task22.task2203;
/*
Between tabs
*/
public class Solution {
public static String getPartOfString(String string) throws StringTooShortException {
String result="";
if (string == null) {
throw new StringTooShortException();}
if (!string.contains("\t")) {
throw new StringTooShortException();}
else{
int v = string.indexOf("\t");
int u = string.indexOf("\t",v+1);
if((u!=-1)&&(v!=-1))
{
result= string.substring(v,u);
return result;
}
else
throw new StringTooShortException();
}
}
public static class StringTooShortException extends Exception {
}
public static void main(String[] args) throws StringTooShortException
{
System.out.println(getPartOfString("\tCodeGym is the best place \tto learn Java\t."));
}
}