Paste Active Pastes
  • 1class AbortedWorkflowException extends RuntimeException {
    2public function __construct ($code = 0, Exception $previous = null) {
    3$message = 'User aborted workflow.'
    4parent::__construct($message, $code, $previous)
    5}
    6...
    • Jul 24 2017, 21:32
    • 6 Lines
    • PHP
  • 1{
    2"claims": {
    3"P214": [
    4{
    5"mainsnak": {
    6...
    • Jun 8 2017, 21:56
    • 91 Lines
    • JSON
  • 1​// Returns the mask array if b is a ban, returns an empty array otherwise.
    2​private String[] masksIfBan(Ban b) {
    3​ if (!b.isBan()) return new String[0];
    4​ return b.masks();
    5​}
    • Mar 1 2017, 22:21
    • 5 Lines
  • 1public class Ban {
    2private String[] items;
    3
    4// contructor
    5public Ban(String content) {
    6...
    • Feb 22 2017, 15:28
    • 56 Lines
    • Java
  • 1​#!/usr/bin/php
    2<?php
    3include './Core/BotCore.php';
    4/** ExampleProgramm.example.php
    5* <Beschreibung des Programms einsetzen>
    6...
    • Aug 10 2016, 23:05
    • 16 Lines