
com.xcase.rest.generator.raml.YamlException Maven / Gradle / Ivy
package com.xcase.rest.generator.raml;
import com.xcase.rest.generator.*;
import com.google.gson.*;
import com.xcase.common.impl.simple.core.CommonHTTPManager;
import com.xcase.common.utils.ConverterUtils;
import java.lang.invoke.MethodHandles;
import java.io.*;
import java.net.*;
import java.nio.file.*;
import java.util.*;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.util.EntityUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class YamlException extends Exception {
///
/// Gets the position in the input stream where the event that originated the exception starts.
///
public Mark Start;
///
/// Gets the position in the input stream where the event that originated the exception ends.
///
public Mark End;
///
/// Initializes a new instance of the class.
///
public YamlException()
{
}
///
/// Initializes a new instance of the class.
///
/// The message.
public YamlException(String message) {
super(message);
}
///
/// Initializes a new instance of the class.
///
public YamlException(Mark start, Mark end, String message) {
this(start, end, message, null);
}
///
/// Initializes a new instance of the class.
///
public YamlException(Mark start, Mark end, String message, Exception innerException) {
super("(" + start + ") - (" + end + "): " + message, innerException);
Start = start;
End = end;
}
///
/// Initializes a new instance of the class.
///
/// The message.
/// The inner.
public YamlException(String message, Exception innerException) {
super(message, innerException);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy